mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-11-01 07:57:51 +01:00
set_auto_reset_manual_control_times() returned early for a time of 0, so the delay stored by a previous configuration stayed in the manager. The manager outlives config entry reloads, so after changing the option to 0 lights kept being auto-reset with the old delay until Home Assistant was restarted. Remove the light's stored delay instead, and add a regression test that reloads a profile with the option set to 0 while another profile keeps the manager alive. Fixes #1631 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| translations | ||
| __init__.py | ||
| _docs_helpers.py | ||
| adaptation_utils.py | ||
| color_and_brightness.py | ||
| config_flow.py | ||
| const.py | ||
| diagnostics.py | ||
| docs_gen.py | ||
| hass_utils.py | ||
| helpers.py | ||
| manifest.json | ||
| services.yaml | ||
| strings.json | ||
| switch.py | ||