kvisle / oslo_waste

Home Assistant platform for garbage pickup schedule in Oslo
7 stars 2 forks source link

oslo_waste fails after upgrading to 2022.3 #8

Closed phellarv closed 2 years ago

phellarv commented 2 years ago

2022-03-03 20:59:27 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up oslo_was te platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_plat form await asyncio.shield(task) File "/config/custom_components/oslo_waste/sensor.py", line 32, in async_setup_platform await ws.async_update() File "/config/custom_components/oslo_waste/sensor.py", line 52, in async_update with async_timeout.timeout(10, loop=self.hass.loop): TypeError: timeout() got an unexpected keyword argument 'loop'