Home-Assistant-Sensor-Afvalbeheer
Home-Assistant-Sensor-Afvalbeheer copied to clipboard
Waste collector "meerlanden" not found! after upgrade from 5.0.2 to 5.0.3
Hi, after upgrading to 5.0.3 Afvalbeheer is not working anymore for me and i get the following error in the log.
Logger: homeassistant.helpers.entity Source: custom_components/afvalbeheer/API.py:148 Integration: Afvalbeheer (documentation) First occurred: 6:22:43 PM (8 occurrences) Last logged: 6:24:13 PM
Update for sensor.meerlanden_gft fails Update for sensor.meerlanden_restafval fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 515, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 710, in async_device_update raise exc File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/afvalbeheer/sensor.py", line 180, in update collection = self.data.collections.get_first_upcoming_by_type(self.waste_type) File "/config/custom_components/afvalbeheer/API.py", line 148, in collections return self.collector.collections AttributeError: 'NoneType' object has no attribute 'collections'
Logger: homeassistant Source: custom_components/afvalbeheer/API.py:133 Integration: Afvalbeheer (documentation) First occurred: 6:22:19 PM (1 occurrences) Last logged: 6:22:19 PM
Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/config/custom_components/afvalbeheer/API.py", line 133, in async_update await self.collector.update() AttributeError: 'NoneType' object has no attribute 'update'
Same issue, rolling back to 5.0.2 solves the error
Same issue here, also rolled back to 5.0.2
Confirmed too.
Same issue here, rolling back to 5.0.2 solves the error also
Also the same issue here, rolled back to 5.0.2 wastecollector: Circulus
Can someone please share their config of the platform in a DM the HA forum with me? Including their address
I'll write a fix tomorrow!
Can someone please share their config of the platform in a DM the HA forum with me? Including their address
I'll write a fix tomorrow!
I have send you a DM on HA with my config
Thank you @HoekieN! The issue should be fixed in v5.0.4, can you please confirm?
I'm so sorry for introducing this bug
No problem.
Thanks it works again :)