-
Notifications
You must be signed in to change notification settings - Fork 41
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
Sunrise time overtakes set time #341
Comments
There is currently no intelligence built-in to compare start and end point of a schedule. In short, I expect you to be aware that sunrise can be as early as 6:00 in the Netherlands during the spring/summer. |
My goal with automations always is "set and forget". However, I can't do that in this case. I need to manually monitor when the sunrise gets too early and then disable or adjust the schedule. While I understand it's not trivial to implement, it would still be a great addition to the scheduler component to detect these situations automatically. |
I'd opened nielsfaber/scheduler-card#815 earlier before I saw this issue, although upon reflection, mine should be an issue on this component and not on the card. If we could use another object, it'd be easier to handle cases like this outside of the component, removing the need for a complicated GUI here. There are still risks in the functionality, if the varying datetime goes before or after a fixed time, but I think that once the user has taken this level of control, it's fair to expect them to ensure that the order is always consistent. |
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 |
Checklist
Expected behavior
I've a schedule to put on an outdoor light early in the morning and put it off at sunrise. However, now the days are getting longer, the "early in the morning" time is actually past sunrise. I'd expect the light to stay off in this case.
Actual behavior
The light is triggered to go on "early in the morning". But that's now after sunrise, so it never goes off again.
Steps to Reproduce
Note that this only works if you're far enough from the equator, and if it is spring. You can think of similar scenarios in autumn of course.
The text was updated successfully, but these errors were encountered: