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

Unable to remove missing HA lights #339

Closed
GitittomeNow opened this issue Mar 17, 2024 · 3 comments
Closed

Unable to remove missing HA lights #339

GitittomeNow opened this issue Mar 17, 2024 · 3 comments
Labels
bug Something isn't working Stale

Comments

@GitittomeNow
Copy link

I’ve been adding and removing lights from home assistant (HA). If I forget to first remove the light to be deleted from a scheduler-component schedule it is then not possible to edit and remove what it shows as an orphaned light. You can deselect working lights, just not orphaned ones. The only fix is to delete and recreate the schedule.

Checklist

I am running the latest version and did not find this issue elsewhere.

Expected behavior

It should be possible to edit schedules and delete lights that are no longer in home assistant.

Actual behavior

When editing schedules with missing lights, these light are not deselect-able.

No errors in logs.

Steps to Reproduce

Leave a light in a schedule and remove that light from home assistant. Then try to edit the schedule.

@GitittomeNow GitittomeNow added the bug Something isn't working label Mar 17, 2024
@nielsfaber
Copy link
Owner

I agree this behaviour should be improved.
For the time being, you can use the scheduler.remove service (via HA developer tools panel) to remove schedules manually.
When I have the time for it I will work on better support for this via scheduler-card.

@GitittomeNow
Copy link
Author

Thank you.

Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

2 participants