Skip to content

Allowing for sleep_brightness to be set to 0#1455

Open
jaynis wants to merge 2 commits intobasnijholt:mainfrom
jaynis:feature/0-sleep-brightness
Open

Allowing for sleep_brightness to be set to 0#1455
jaynis wants to merge 2 commits intobasnijholt:mainfrom
jaynis:feature/0-sleep-brightness

Conversation

@jaynis
Copy link
Copy Markdown

@jaynis jaynis commented Mar 26, 2026

This PR updates the sleep_brightness range from 1–100 to 0–100, enabling zero as a valid value. It allows lights to remain off when they receive turn_on calls during sleep mode and thus can prevent specific lights (e.g. ceiling lights) from turning on. This eliminates the need of special logic when e.g. turning on lights with motion sensors during night time.

Signed-off-by: jaynis <kranz.jannis@googlemail.com>
@jaynis jaynis requested a review from basnijholt as a code owner March 26, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant