The error below is appearing regularly (every 5th minute or so) in the log. The component works as it did before, and there is no registered problem with the api.
Logger: homeassistant
Source: custom_components/hasl3/sensor.py:531
Integration: SL Integration (HASL) (documentation, issues)
First occurred: 16:59:40 (12 occurrences)
Last logged: 17:05:10
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 709, in _update_entity_states
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 406, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 453, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 425, in _stringify_state
state = self.state
File "/config/custom_components/hasl3/sensor.py", line 531, in state
return len(self._sensordata["data"])
KeyError: 'data'
The error below is appearing regularly (every 5th minute or so) in the log. The component works as it did before, and there is no registered problem with the api.
Logger: homeassistant Source: custom_components/hasl3/sensor.py:531 Integration: SL Integration (HASL) (documentation, issues) First occurred: 16:59:40 (12 occurrences) Last logged: 17:05:10
Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 709, in _update_entity_states await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 406, in async_update_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 453, in _async_write_ha_state state = self._stringify_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 425, in _stringify_state state = self.state File "/config/custom_components/hasl3/sensor.py", line 531, in state return len(self._sensordata["data"]) KeyError: 'data'