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

Failed to unload #1203

Open
LasseLegarth opened this issue Sep 14, 2024 · 1 comment
Open

Failed to unload #1203

LasseLegarth opened this issue Sep 14, 2024 · 1 comment

Comments

@LasseLegarth
Copy link

I get "failed to unload", after I've pressed "restart" on the eufy-security-ws under addons.
image

A clear and concise description of what the bug is.

Just restart eufy-security-ws under addons.

This is my logfile:

2024-09-14 21:21:03.573 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry 127.0.0.1 for eufy_security
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 819, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/init.py", line 69, in async_unload_entry
unloaded = await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
^^^^^
NameError: name 'entry' is not defined. Did you mean: 'entity'?

Expected behavior

That I can restart eufy-security-ws without having to restart all of home assistant :) I have 10 lamps from eufy, and unless I restart it once in a while, I lose connection to one or more lamps - so being able to restart it is quite important.

Additional information

Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;
Version core-2024.9.1
Installation type Home Assistant OS
eufy-security-ws (1.9.0),
Eufy Security Integration Version: 8.0.3 - The issue was not there in the previous version.

  • Would you share your device with me in case further debugging required? (Yes/No): Its not a device issue I think ...
@rammstone83
Copy link

same problem here :(

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

2 participants