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.
Manual Schedule Feature
Description
This PR implements a
manual_scheduleconfiguration option (YAML only) that allows users to define specific brightness and color temperature values for exact times of the day. This is useful for users who want to enforce specific lighting scenes (e.g., getting ready in the morning, dinner time) that might differ from the standard sun-based adaptive curve.Configuration
The
manual_scheduleis defined as a list of schedule points. Each point must have atimeand can optionally havebrightness_pctandcolor_temp_kelvin.Example YAML
# NEW: Manual Schedule manual_schedule: # Pre-dawn - time: "06:30" brightness_pct: 1 color_temp_kelvin: 2000 # Sunrise (07:12): Waking up - time: "07:15" brightness_pct: 20 color_temp_kelvin: 2500 # Morning Ramp - time: "08:30" brightness_pct: 80 color_temp_kelvin: 3500 # Solar Noon Peak - time: "11:50" brightness_pct: 100 color_temp_kelvin: 5500 # Afternoon - time: "15:00" brightness_pct: 100 color_temp_kelvin: 4000 # Sunset (16:29): Evening starts BRIGHT as requested - time: "16:30" brightness_pct: 100 color_temp_kelvin: 3000 # Late Evening: Gradual dim to 60% - time: "21:00" brightness_pct: 60 color_temp_kelvin: 2200 # Bedtime: Deep sleep mode - time: "23:00" brightness_pct: 1 color_temp_kelvin: 2000How it works