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'
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'