shenxn / ha-dyson-cloud

Cloud integration for ha-dyson (https://github.com/shenxn/ha-dyson/)
MIT License
33 stars 20 forks source link

Can’t install local or cloud integration due to handler error #16

Open bakteriak opened 1 year ago

bakteriak commented 1 year ago

When trying to install integration I am getting an error message.

Device: Dyson Purifier HEPA Cool™ Formaldehyde purifying fan

Config flow could not be loaded: {"message":"Invalid handler specified"}

Below is the entry from the log:

Dyson cloud integration error

Logger: homeassistant.config_entries Source: config_entries.py:810 First occurred: 12:17:47 (5 occurrences) Last logged: 23:43:08

Error occurred loading configuration flow for integration dyson_cloud: cannot import name 'DysonPurifierHumidifyCoolFormaldehyde' from 'libdyson' (/usr/local/lib/python3.10/site-packages/libdyson/__init__.py) Error occurred loading configuration flow for integration dyson_local: cannot import name 'DysonPurifierHumidifyCoolFormaldehyde' from 'libdyson' (/usr/local/lib/python3.10/site-packages/libdyson/__init__.py)

Dyson local integration error

Logger: homeassistant.config_entries Source: config_entries.py:810 First occurred: 23:52:50 (1 occurrences) Last logged: 23:52:50

Error occurred loading configuration flow for integration dyson_local: cannot import name 'DysonPurifierHumidifyCoolFormaldehyde' from 'libdyson' (/usr/local/lib/python3.10/site-packages/libdyson/__init__.py)

dantman commented 1 year ago

Same issue:

Logger: homeassistant.config_entries
Source: config_entries.py:810
First occurred: 9:11:35 PM (1 occurrences)
Last logged: 9:11:35 PM

Error occurred loading configuration flow for integration dyson_cloud: cannot import name 'DysonPurifierHumidifyCoolFormaldehyde' from 'libdyson' (/usr/local/lib/python3.10/site-packages/libdyson/__init__.py)

Also reported at ha-dyson

AlxSZP commented 1 year ago

Same... so many entries for the same issue

dotvezz commented 1 year ago

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 #20 for more information, and let me know if you have any questions.

Let me know if you try the new repos and whether or not they solve this problem!