kvisle / oslo_waste Goto Github PK
View Code? Open in Web Editor NEWHome Assistant platform for garbage pickup schedule in Oslo
Home Assistant platform for garbage pickup schedule in Oslo
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'
I have had the oslo-waste integration running just fine for a long, long time (must be close to two years now).
Yesterday it stopped working for no apparent reason;
I have not updated anything or made any other changes - what so ever. The only thing I do is that I restart HA from time to time when I have to. Everything else is still working just fine.
I run HA 2021.2.3 in a Docker Container.
Great work with this implementation. Could you
DATE INFO (MainThread) [custom_components.oslo_waste.sensor] [ADDRESS] - Skipping update.
Is there a way to turn this off?
WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_timeout.timeout with loop keyword argument. The loop keyword argument is deprecated and calls will fail after Home Assistant 2022.2. Please report issue to the custom component author for oslo_waste using this method at custom_components/oslo_waste/sensor.py, line 52: with async_timeout.timeout(10, loop=self.hass.loop):
This component have stopped working for my address Lindbäckveien 1 in Oslo (have been working perfect with same config previously)
Config looks like this:
- platform: oslo_waste
address: 'LINDBÄCKVEIEN 1'
I get the following error in the log:
_Logger: homeassistant.components.sensor
Source: custom_components/oslo_waste/sensor.py:59
Integration: Sensor (documentation, issues)
First occurred: 3:13:05 PM (1 occurrences)
Last logged: 3:13:05 PM
Error while setting up oslo_waste platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in async_setup_platform
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 59, in async_update
for v in values:
TypeError: 'NoneType' object is not iterable
I suspect the issue might have something to do with getting results for both Lindbäckveien 1 and 1B (https://www.oslo.kommune.no/avfall-og-gjenvinning/nar-hentes-avfallet/), but i get the same result when changing my config to my neighbors address:
- platform: oslo_waste
address: 'LINDBÄCKVEIEN 1B'
Or could it be something with the enconding of Ä/ä?
No 'version' key in the manifest file for custom integration 'oslo_waste'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'oslo_waste'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.