SeanPM5 / homeassistant-config

14 stars 0 forks source link

Fix Google Home volume_level issues #26

Closed SeanPM5 closed 5 years ago

SeanPM5 commented 5 years ago

During startup, and at random times throughout the day I get the following error:

Error rendering data template: UndefinedError: 'mappingproxy object' has no attribute 'volume_level'

Am nearly certain it has to do with my Google Homes and the automation where I either adjust via the input_number slider or automatically adjust volume to specific levels throughout the day. Or even just TTS announcements where I set the volume_level in the data_template.

I think that when the Google Home's go idle they won't have volume_level attribute in Home Assistant. Not really sure.

Additional and/or related issue relating to Google Homes:

image