Open fettlaus opened 3 years ago
I'm getting similar
Logger: homeassistant.components.sensor
Source: custom_components/climacell/sensor.py:411
Integration: Sensor (documentation, issues)
First occurred: 3:02:53 PM (1 occurrences)
Last logged: 3:02:53 PM
climacell: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 360, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 465, in async_device_update
await task
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/climacell/sensor.py", line 411, in update
self._state = self.__valuemap[str(self._state)]
KeyError: '1.95'
Everything seems to be working but the daily pollen_tree.
Update: The error went away for me today after a restart and the pollen_tree sensor is working again. Maybe this was a problem on Climacell's side.
I Have the same issue
I seem to have the same issue. It seems it is only pollen_tree the other seems ok.
Update: Just did an upgrade to core-2021.4.4 and then it worked fine again. SO now I have the sensor working.
My integration started reporting errors while handling pollen values for my area. It seems there is some kind of unit conversion error with the pollen index going on.
This is my configuration: