adaptive-lighting/docs
Joe Neuman b1729d906c Add restore_manual_control option to keep manual control across restarts
A restart currently clears manual control for every light: the startup
adaptation resets the flags and force-adapts, so a light that was dimmed by
hand before the restart comes back at the adaptive values. With the new
opt-in option, manual control is written to storage as it changes (debounced,
one store per Home Assistant instance) and restored at startup. The restored
flags are resolved once at EVENT_HOMEASSISTANT_STARTED: kept while the light
is on and at least one profile controlling it has the option without
autoreset_control_seconds, dropped otherwise, and forgotten when no profile
controls the light anymore, so the outcome does not depend on the order the
profiles are set up in. Only a full restart restores; a config-entry reload
still clears manual control. Unloading the last entry writes a pending save.
Defaults stay unchanged and nothing is read or written unless a profile opts in.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EdXCHuaz4Yj932oEwtgouW
2026-09-08 18:00:23 -07:00
..
advanced Add restore_manual_control option to keep manual control across restarts 2026-09-08 18:00:23 -07:00
assets Add documentation site with Zensical framework (#1385) 2026-01-12 23:39:57 +01:00
overrides/partials/integrations/analytics Add documentation site with Zensical framework (#1385) 2026-01-12 23:39:57 +01:00
automation-examples.md fix: synchronize sleep mode and mixed-light split timing (#1579) 2026-09-06 21:50:32 +02:00
CNAME Add documentation site with Zensical framework (#1385) 2026-01-12 23:39:57 +01:00
configuration.md Add restore_manual_control option to keep manual control across restarts 2026-09-08 18:00:23 -07:00
getting-started.md ci: support one year of Home Assistant releases (#1546) 2026-09-06 12:17:22 +02:00
index.md docs: clarify that UI setup needs no YAML entry (#1031) 2026-09-06 10:43:37 +02:00
run_markdown_code_runner.py Add documentation site with Zensical framework (#1385) 2026-01-12 23:39:57 +01:00
see-also.md Migrate to markdown-code-runner's built-in include_section() (#1417) 2026-01-26 09:01:50 +01:00
services.md Register service actions in async_setup for Bronze tier compliance (#1403) 2026-09-06 13:04:18 +02:00
troubleshooting.md docs: explain physical turn-ons that require reloading (#1581) 2026-09-06 22:38:25 +02:00