betaboon / philips-airpurifier-coap

💨 Philips AirPurifier custom component for Home Assistant. With support for new Devices with CoAP protocol. Tested on AC2729/10 (bought early 2020)
70 stars 31 forks source link

Addon is cosing tradfri problem: Unable to import component after 2021.12 #64

Open oat1 opened 2 years ago

oat1 commented 2 years ago

The problem At startup, HA is unable to import tradfri component 'TimeoutError' from 'aiocoap.error'. Integration not loaded.

What version of Home Assistant Core has the issue? core-2021.12.0

What was the last working version of Home Assistant Core? core-2021.11.5

What type of installation are you running? Home Assistant OS

LOG:

2021-12-11 22:55:09 ERROR (MainThread) [homeassistant.setup] Setup failed for tradfri: Unable to import component: cannot import name 'TimeoutError' from 'aiocoap.error' (/usr/local/lib/python3.9/site-packages/aiocoap/error.py)

kongo09 commented 2 years ago

Is this a problem of tradfri or philips-airpurifier-coap?

oat1 commented 2 years ago

philips-airpurifier-coap, makes tradfri component not loading at all.

After uninstalling philips-airpurifier-coap, and installing core-2021.12.2 problem disappears.

But when you install the addon again after, the problem cames back.

kongo09 commented 2 years ago

At the moment, this integration is not actively maintained anymore, so don't expect any quick resolution.

But could you still be so kind to post some longer log to show how tradfri is complaining and not loading in the context of this integration here? Anything beyond the original log entry?

kongo09 commented 2 years ago

You could also try a slightly modified fork and report back, of that solves your problem:

https://github.com/ronaldt80/philips-airpurifier

oat1 commented 2 years ago

Thanks for the info, I tried https://github.com/ronaldt80/philips-airpurifier problem is the same

I cannot post longer logs because tradfir does not load at all when the system starts, so it is just this one line