-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Min renovasjon not working #5
Comments
Have same issue, on HA 0.113.1. Logger: homeassistant.util.async_ Logger: homeassistant.setup Logger: homeassistant.setup Edit:
Have tried: Overwrite the three files in custom_integrations/min_renovasjon, and tried to remove the pytemp-folder. No changes. |
And suddenly it started working again here...! |
Still not working with me 😒 |
Fixed |
Suddenly this custom component stopped working.
I run Home assistant in docker on an ubuntu server. I am running Home assistant 0.112.5.
Here is the error message I get in the log:
Logger: homeassistant.util.async_
Source: util/async_.py:120
First occurred: 12:39:44 (2 occurrences)
Last logged: 12:39:44
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for min_renovasjon doing I/O at custom_components/min_renovasjon/init.py, line 83: response = requests.get(url, headers=header)
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for min_renovasjon doing I/O at custom_components/min_renovasjon/init.py, line 95: response = requests.get(url, headers=header)
and
Error during setup of component min_renovasjon
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 193, in _async_setup_component
result = await asyncio.wait_for(task, SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/min_renovasjon/init.py", line 48, in async_setup
min_renovasjon = MinRenovasjon(street_name, street_code, house_no, county_id, date_format)
File "/config/custom_components/min_renovasjon/init.py", line 61, in init
self._kalender_list = self._get_calendar_list()
File "/config/custom_components/min_renovasjon/init.py", line 125, in _get_calendar_list
check_for_refresh = self._check_for_refresh_of_data(kalender_list)
File "/config/custom_components/min_renovasjon/init.py", line 170, in _check_for_refresh_of_data
if tommedato_forste.date() < date.today() or tommedato_neste.date() < date.today():
AttributeError: 'NoneType' object has no attribute 'date'
The text was updated successfully, but these errors were encountered: