Skip to content
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

Dyson failed to unload #209

Open
RadDip opened this issue Dec 7, 2024 · 9 comments
Open

Dyson failed to unload #209

RadDip opened this issue Dec 7, 2024 · 9 comments

Comments

@RadDip
Copy link

RadDip commented Dec 7, 2024

After upgrading to HA Core 2024.12.1, receiving Dyson Integration Error "failed to unload.

Using Dyson integration version 1.4.2. Rebooted HA several times and tried to reload integration to no avail.

@freeman59
Copy link

Hello

Same problem here. Updated to last Core and HA version, Dyson is not working anymore, showing "No devices or entities" under MyDyson section.

@dimitrijez
Copy link

Dyson stopped working for me too.

@missSp84
Copy link

Hi,

Same problem as stated above. Since I have updated, the Dyson integration does not work anymore. "No devices" nor entities visible.

@dotvezz
Copy link
Member

dotvezz commented Dec 17, 2024

Hmm, I'm on 2024.12.1 and not having any issues. For anyone who is seeing this, are you able to share debug logs to help identify where/why it's happening?

@RadDip
Copy link
Author

RadDip commented Dec 18, 2024

Please see below

2024-12-17 21:38:15.315 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Pure Hot+Cool Link for dyson_local
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 855, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dyson_local/init.py", line 181, in async_unload_entry
device: DysonDevice = hass.data[DOMAIN][DATA_DEVICES][entry.entry_id]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: '01JEGHKQWSKYGX7ZJXHDQEZSPC'

@CharlPels
Copy link

Same issue and same error by i have 2 dyson pure cools.
One works fine the other is not anymore

@MLGxPingu
Copy link

I am also having this issue, no devices/entities found

Logger: homeassistant.config_entries
Source: config_entries.py:855
First occurred: 20:21:04 (1 occurrences)
Last logged: 20:21:04

Error unloading entry MyDyson: [my email and region] for dyson_local
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 855, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dyson_local/init.py", line 181, in async_unload_entry
device: DysonDevice = hass.data[DOMAIN][DATA_DEVICES][entry.entry_id]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: '01JFN8B6727G8YEG5JW30P7PJ4'

@CharlPels
Copy link

Same issue and same error by i have 2 dyson pure cools. One works fine the other is not anymore
Simple restart etc did not worked
what did worked for me was a redownload of the latest dyson version and reboot again, that solved it for now.
No changes made other then that.

@MLGxPingu
Copy link

Same issue and same error by i have 2 dyson pure cools. One works fine the other is not anymore
Simple restart etc did not worked
what did worked for me was a redownload of the latest dyson version and reboot again, that solved it for now.
No changes made other then that.

Sadly this did not work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants