v2.3.1-cdit.1 — new-group defaults fix
Pre-release
Pre-release
Bugfix + polish release for the CDiT fork of basnijholt/adaptive-lighting.
Fixes
- New-group defaults (bug): a profile created with only a name seeded its runtime range sliders from
native_min, so a brand-new group ran at max_brightness=1% and a collapsed 1000–1000K color-temp range until the options dialog was saved once. Range entities now fall back to sensibleDEFAULT_*(5 / 100 / 2200 / 5500). Adds a regression test. - Section collapse defaults: the options dialog now opens with Targets + Daytime curve expanded and the rest (Sun schedule, Ambient lux, Light control, Advanced, Diagnostics) collapsed — 2 open / 5 closed.
Notes
- Existing profiles are unaffected — their options are already saved; only newly-created groups get the corrected seed.
Attribution: core curve math, light interception, and HACS plumbing are upstream's work by @basnijholt and contributors.