Keep the monitor reported as on at minimum brightness when turned off

Reporting OFF made Adaptive Lighting stop adapting the monitor. The screen
never really turns off, so "off" now sets the minimum brightness and the
light stays on at brightness 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mangavalkandClaude Opus 5.5 committed 2026-11-18 01:41:42 +01:00
1 parent 82cd5a8f2c
commit b314ceb79e
2 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ Makes the PC monitor's brightness controllable from Home Assistant: the monitor
`light.pc_monitor` (MQTT discovery) and its brightness is set over DDC/CI.
- Home Assistant 1-255 maps onto monitor brightness `min_level`..`max_level` (default 5-100).
- "Off" sets the minimum brightness; the monitor itself stays on.
- "Off" sets the minimum brightness and the light stays reported as on (1%), so Adaptive Lighting keeps adapting it; the monitor itself stays on.
- Brightness changed with the monitor's own buttons is reported back every `poll_seconds` (default 30).
- When the PC is off the light shows as unavailable.