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

Error Unloading #130

Open
Safi105 opened this issue Feb 8, 2024 · 2 comments
Open

Error Unloading #130

Safi105 opened this issue Feb 8, 2024 · 2 comments

Comments

@Safi105
Copy link

Safi105 commented Feb 8, 2024

Hello,

I have been getting this error for my TP02 for a few weeks now

Logger: homeassistant.config_entries
Source: config_entries.py:603
First occurred: 09:52:31 (1 occurrences)
Last logged: 09:52:31

Error unloading entry Küche for dyson_local
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 603, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dyson_local/init.py", line 187, in async_unload_entry
device = hass.data[DOMAIN][DATA_DEVICES][entry.entry_id]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: '692f0cf9e8a2f2fc33018d64a4b3af35'

@Ay1tsMe
Copy link

Ay1tsMe commented Apr 9, 2024

Same issue. I have a dyson purifier cool that suddenly became unavailable. When i try to reload the integration to see if it reconnects it gives me this error.

File "/config/custom_components/dyson_local/__init__.py", line 187, in async_unload_entry
    device = hass.data[DOMAIN][DATA_DEVICES][entry.entry_id]
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: '0394615ca923bfb66bc6d33e62799330'

@Ulrar
Copy link

Ulrar commented May 19, 2024

Same issue here for the past couple of days.
Deleting, then restarting and then re-adding the device seems to do the trick

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

3 participants