adaptive-lighting/custom_components/adaptive_lighting
BrawnyBravo b541696b4e fix: drop the stored auto-reset delay when autoreset_control_seconds is 0
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>
2026-10-09 21:59:40 -07:00
..
translations Add missing {webapp_url}/{docs_url} placeholders to 7 translations (#1600) 2026-09-22 16:03:11 -07:00
__init__.py Register service actions in async_setup for Bronze tier compliance (#1403) 2026-09-06 13:04:18 +02:00
_docs_helpers.py Register service actions in async_setup for Bronze tier compliance (#1403) 2026-09-06 13:04:18 +02:00
adaptation_utils.py Fix missing follow-up commands during multi-light interception (#1560) 2026-09-06 14:03:08 +02:00
color_and_brightness.py Fix missing solar_midnight event when derived solar noon crosses 12:00 UTC (#1599) (#1609) 2026-09-22 16:03:07 -07:00
config_flow.py Implement collapsible sections for options flow (#1313) 2026-09-06 17:18:42 +02:00
const.py feat: add expand_light_groups option (#1462) 2026-09-06 21:13:35 +02:00
diagnostics.py Add on-demand Home Assistant diagnostics (#1575) 2026-09-06 19:11:55 +02:00
docs_gen.py Migrate to markdown-code-runner's built-in include_section() (#1417) 2026-01-26 09:01:50 +01:00
hass_utils.py fix: track mixed targets during light turn-off (#1584) 2026-09-07 07:41:28 +02:00
helpers.py Friendly names (#1258) 2025-11-27 12:01:05 -08:00
manifest.json chore: release v1.32.0 (#1580) 2026-09-06 22:06:43 +02:00
services.yaml feat: add expand_light_groups option (#1462) 2026-09-06 21:13:35 +02:00
strings.json feat: add expand_light_groups option (#1462) 2026-09-06 21:13:35 +02:00
switch.py fix: drop the stored auto-reset delay when autoreset_control_seconds is 0 2026-10-09 21:59:40 -07:00