Code Monkey home page Code Monkey logo

Comments (4)

lb3ne avatar lb3ne commented on August 21, 2024

Have same issue, on HA 0.113.1.
This logs might be the same, but in case they aren't:

Logger: homeassistant.util.async_
Source: util/async_.py:120
First occurred: 9:37:34 (2 occurrences)
Last logged: 9:37:34
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)

Logger: homeassistant.setup
Source: custom_components/min_renovasjon/init.py:170
First occurred: 9:37:35 (1 occurrences)
Last logged: 9:37:35
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.8/asyncio/tasks.py", line 483, 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'

Logger: homeassistant.setup
Source: setup.py:298
First occurred: 9:38:02 (1 occurrences)
Last logged: 9:38:02
Unable to prepare setup for platform min_renovasjon.sensor: Unable to set up component.

Edit:
Running on a NUC:

arch x86_64
chassis embedded
dev false
docker true
docker_version 19.03.8
hassio true
host_os HassOS 4.11
installation_type Home Assistant OS
os_name Linux
os_version 5.4.50
python_version 3.8.3
supervisor 229
timezone Europe/Oslo
version 0.113.1
virtualenv false

Have tried: Overwrite the three files in custom_integrations/min_renovasjon, and tried to remove the pytemp-folder. No changes.

from home_assistant_min_renovasjon.

lb3ne avatar lb3ne commented on August 21, 2024

And suddenly it started working again here...!

from home_assistant_min_renovasjon.

stave1989 avatar stave1989 commented on August 21, 2024

Still not working with me 😒

from home_assistant_min_renovasjon.

eyesoft avatar eyesoft commented on August 21, 2024

Fixed

from home_assistant_min_renovasjon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.