adaptive-lighting/custom_components/adaptive_lighting
Casey 61be07c179 Fix new-group defaults + tidy section collapse defaults
Thread 2 (bug): runtime range number entities seeded from native_min on a
fresh profile (only a name stored at setup), so new groups ran at
max_brightness=1% and a 1000-1000K color-temp range until the options
dialog was saved once. Each RANGE_ENTITIES row now carries a sensible
DEFAULT_* and _options_value() falls back to it. Adds a regression test.

Thread 3: collapse 'Sun schedule' and 'Light control' by default
(now 2 open / 5 closed): Targets + Daytime curve expanded, the rest
collapsed.

Existing profiles unaffected (their options are already saved); only
newly-created groups get the corrected seed. Bump 2.3.0 -> 2.3.1-cdit.1.
2026-05-31 21:41:57 +02:00
..
translations Implement add-output-sensors: 36/41 tasks complete 2026-05-21 10:11:52 +02:00
__init__.py Implement add-lux-target: reduce-only ambient lux gate 2026-05-25 16:11:52 +02:00
adaptation_utils.py Individual manual control of brightness and color (#1356) 2025-12-22 22:55:16 -08:00
color_and_brightness.py Implement add-lux-target: reduce-only ambient lux gate 2026-05-25 16:11:52 +02:00
config_flow.py Fix new-group defaults + tidy section collapse defaults 2026-05-31 21:41:57 +02:00
const.py Fix new-group defaults + tidy section collapse defaults 2026-05-31 21:41:57 +02:00
hass_utils.py Friendly names (#1258) 2025-11-27 12:01:05 -08:00
helpers.py Friendly names (#1258) 2025-11-27 12:01:05 -08:00
manifest.json Fix new-group defaults + tidy section collapse defaults 2026-05-31 21:41:57 +02:00
number.py Fix new-group defaults + tidy section collapse defaults 2026-05-31 21:41:57 +02:00
sensor.py Implement add-lux-target: reduce-only ambient lux gate 2026-05-25 16:11:52 +02:00
services.yaml Groups 8 + 9: strings, services.yaml, README, CHANGELOG (37/53) 2026-05-16 14:59:09 +02:00
strings.json Implement add-lux-target: reduce-only ambient lux gate 2026-05-25 16:11:52 +02:00
switch.py lux_reduction sensor: report reduction %, not retained factor 2026-05-30 22:35:59 +02:00