5 is not a valid GoogleHomeAlarmStatus
See original GitHub issueDescribe the bug
Integration fails to load due to an unknown alarm status
Version of the integration
1.9.3
Logs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/google_home/api.py", line 139, in update_google_devices_information
coordinator_data = await asyncio.gather(
File "/config/custom_components/google_home/api.py", line 152, in collect_data_from_endpoints
device = await self.update_alarms_and_timers(device)
File "/config/custom_components/google_home/api.py", line 168, in update_alarms_and_timers
device.set_alarms(cast(List[AlarmJsonDict], response[JSON_ALARM]))
File "/config/custom_components/google_home/models.py", line 48, in set_alarms
self._alarms = [
File "/config/custom_components/google_home/models.py", line 49, in <listcomp>
GoogleHomeAlarm(
File "/config/custom_components/google_home/models.py", line 169, in __init__
self.status = GoogleHomeAlarmStatus(status)
File "/usr/local/lib/python3.9/enum.py", line 384, in __call__
return cls.__new__(cls, value)
File "/usr/local/lib/python3.9/enum.py", line 702, in __new__
raise ve_exc
ValueError: 5 is not a valid GoogleHomeAlarmStatus
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Solution to track your google home alarms and timers and ...
Config entry for xx google home integration not ready yet ... Unexpected error fetching sensor data: 4 is not a valid GoogleHomeAlarmStatus.
Read more >Open source Python3 home automation - deel 4
-Config entry for xx google home integration not ready yet ... error fetching sensor data: 4 is not a valid GoogleHomeAlarmStatus ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Big kuddos to @williamg97 for fixing the issue with
missed alarm
status 5. Please upgrade the integration to version v1.9.4 using Hacs in HA. https://github.com/leikoilja/ha-google-home/releases/tag/v1.9.4 If you still encounter any issues please open new issue ticket 😃Looks like its a new “missed” status. Similar to issue #176. Have created a PR that should fix it!