Hi all,
I’ve been using the MeteoAlarm component for a while now, but since recently I keep sing errors like this:
2020-01-21 12:45:15 ERROR (MainThread) [homeassistant.components.binary_sensor] meteoalarm: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 299, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 461, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/meteoalarm/binary_sensor.py", line 85, in update
alert = self._api.get_alert()
File "/usr/local/lib/python3.7/site-packages/meteoalertapi/meteoalertapi.py", line 37, in get_alert
if entry.get('cap:areaDesc') != self.province:
AttributeError: 'str' object has no attribute 'get'
Does any of you experience the same or know how to fix this?
My configuration is like this:
- platform: meteoalarm
country: 'NL'
province: 'Overijssel'
language: 'ne'
EDIT: Also the binary_sensor device doesnt exist.
Kind regards,
Rob