philips-airpurifier-coap icon indicating copy to clipboard operation
philips-airpurifier-coap copied to clipboard

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

Open oat1 opened this issue 3 years ago • 5 comments

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)

oat1 avatar Dec 16 '21 08:12 oat1

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

kongo09 avatar Dec 16 '21 08:12 kongo09

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.

oat1 avatar Dec 16 '21 08:12 oat1

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 avatar Dec 16 '21 08:12 kongo09

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

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

kongo09 avatar Dec 16 '21 08:12 kongo09

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

oat1 avatar Dec 16 '21 09:12 oat1