core: Meteoalarm sensor is not loaded on HA version 2021.10.0
The problem
The meteoalarm sensor doesn’t load after restart. See error log below.
What is version of Home Assistant Core has the issue?
core-2021.10.0
What was the last working version of Home Assistant Core?
core-2021.9.7
What type of installation are you running?
Home Assistant OS
Integration causing the issue
meteoalarm
Link to integration documentation on our website
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.binary_sensor
Source: components/meteoalarm/binary_sensor.py:94
Integration: Binaire sensor (documentation, issues)
First occurred: 14:00:51 (1 occurrences)
Last logged: 14:00:51
meteoalarm: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 431, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 618, in async_device_update
await task
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/meteoalarm/binary_sensor.py", line 94, in update
expiration_date = dt_util.parse_datetime(alert["expires"])
KeyError: 'expires'
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (5 by maintainers)
I changed to nl-BE, and I can confirm that there is an alert showing up correctly now… So I guess the documentation is out of date…