Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is just an alternate face to the sunrise sunset face that adds in civil and nautical twilight. There was also a lot of code refactoring to make it make more sense to me as I tinkered with this.
PS
I'm very excited for movement 2.0
PPS
I'm also planning to add an EVENT_ALARM_LONG_PRESS eventually that will allow the user to set these different solar events as alarms (to enjoy a sunrise/sunset or to be otherwise notified when the outside darkness has reached the civil twilight threshold).
F91w_exampleface-2024-10-19_07.15.58.mp4
For this video, I set the clock to really early to show the solar events for an entire day. Then I reset the time to show that when the solar event has passed for the day, the event gets put at the bottom of the loop, so you can see the time event times for the next day for any event that has passed.