-
Notifications
You must be signed in to change notification settings - Fork 143
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
Unable to remove old/removed light from AL #278
Comments
Same, subscribing |
Yep, been a thing for a while I've noticed. |
Same here, I have repaired my Zigbee lights and renamed entities and now I can't remove the old ones |
+1 |
To workaround the issue I joined a spare light to the group with the old entity_id and removed it from the configuration. That saved me a lot of tweaking to the new configuration. Most friendly solution (IMHO) would be to populate the dropdown with all entries already in the configuration regardless of them being present. Optionally they could be highlighted in red or something to attract attention. |
If you navigate to the integrations page, there is an "Adaptive Lighting" integration where it will list all groups. You can select the old ones and delete it from there. |
The configuration page for the doesn't list the old groups if the entity is gone from HA, that's the crux of this issue. You can't save the configuration if an entity is no longer valid, but you can't remove the entity from the configuration because it doesn't show up to be unchecked. |
I left the following comment in #287 (since it seems to have received more attention): |
I've posted a PR to fix this issue. |
If you remove a light entity from HA that was previously a part of Adaptive Lighting group, you can't remove it from the group, nor can you do any changes to the group (a "device" in HA implementation). Any change to the the group leads to
User input malformed: light.[MISSING_ENTITY] is not a valid option for dictionary value @ data['lights']
. You then have to delete the AL group/device and set it up again without the missing light entity.The text was updated successfully, but these errors were encountered: