Sleep Mode
Sleep mode is a special operating mode that sets your lights to minimal brightness and very warm color, perfect for winding down at night without disrupting your circadian rhythm.
Activating Sleep Mode
Each Adaptive Lighting configuration creates a sleep mode switch:
Turn it on to activate sleep mode:
Sleep mode stays active until this switch is turned off. It does not turn off automatically at sunrise, and Home Assistant restores its previous state after a restart. Use an automation, such as the sleep-mode blueprint linked under Automation Examples, when you want the switch to follow a schedule or helper.
If lights unexpectedly use sleep_brightness or sleep_color_temp during the
day, first check that the sleep-mode switch is off. While the main Adaptive
Lighting switch is on, it reports the current calculated brightness_pct and
color_temp_kelvin targets, including the sleep settings while sleep mode is on.
You can compare these attributes with the physical light state. They are None
when the main switch is off. In debug logs,
initial_sleep=True describes an internal delay before sending a command; it does
not mean that sleep mode is active.
Configuration Options
Sleep mode is configured through the main Adaptive Lighting configuration. See the Configuration page for the full options table. The sleep-related options are:
| Option | Default | Description |
|---|---|---|
sleep_brightness |
1 | Brightness percentage in sleep mode |
sleep_rgb_or_color_temp |
color_temp |
Use rgb_color or color_temp in sleep mode |
sleep_color_temp |
1000 | Color temperature in Kelvin for sleep mode |
sleep_rgb_color |
[255, 56, 0] |
RGB color for sleep mode |
sleep_transition |
1 | Transition duration in seconds |
transition_until_sleep |
false | Gradually transition to sleep settings after sunset |
Automation Examples
See Automation Examples for sleep mode automation recipes, including:
- Toggle sleep mode using an
input_boolean - Set sunrise/sunset based on alarm time