-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Cannot import name 'DysonPurifierHumidifyCoolFormaldehyde' from 'libdyson' #171
Comments
I've got the exact same error |
That's intermittent? |
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 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 ? In my case I have |
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. |
I found a solution for me now: #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?
The text was updated successfully, but these errors were encountered: