Open erd82 opened 1 year ago
I've got the exact same error
That's intermittent? It looks like it may be loading an outdated version of libdyson for some reason. Have you tried deleting it and re-adding it ?
That's intermittent? It looks like it may be loading an outdated version of libdyson for some reason. Have you tried deleting it and re-adding it ?
yes, many times
I have the same issue. I have dyson cloud and dyson local both loaded and use my cloud credentials to use dyson local.
Here is the exact error I get Logger: homeassistant.setup Source: setup.py:210 First occurred: 10:40:32 PM (1 occurrences) Last logged: 10:40:32 PM
Setup failed for custom integration dyson_cloud: Unable to import component: cannot import name 'DysonPurifierHumidifyCoolFormaldehyde' from 'libdyson' (/usr/local/lib/python3.10/site-packages/libdyson/init.py)
I've seen the same issue on my installation (done about an hour ago)
Can you check which version of libdyson is installed ?
Looks like you'd find it here : /usr/local/lib/python3.10/site-packages/
In my case I have libdyson-0.8.11
in there
It was 8.11, I removed the integration from HACS, both local and cloud, reloaded it and it now works. I think this is an intermittent problem, somehow the library either doesn't load at runtime or gets lost. To add, the initial installation worked, then somehow broke, and after I deleted and reloaded everything a few times, worked properly.
python3 get_devices.py
also never worked > libdyson.exceptions.DysonInvalidAuth
I found a solution for me now: https://github.com/shenxn/ha-dyson/issues/178. Maybe it also helps others.
Unfortunately this integration is no longer maintained, but I've created a new fork and am actively working on the new Formaldehyde models. Have a look at #185 for more information, and let me know if you have any questions.
As mentioned in a former post, my dyson integration sometimes appears as "not loaded" and then the dyson fan cannot be controlled anymore in HA.
These logs for dyson_cloud are showing these error messages:
The same appears sfor dyson_local:
How to get rid of this problem?