adaptive-lighting/custom_components/adaptive_lighting
Casey ada3538449 Rename range sliders to lower/upper + friendlier new-profile defaults
Device page sorts entities alphabetically by name, so 'Min/Max …' always
listed max above min ('a' < 'i'). Rename the four range numbers to
'Brightness lower/upper' and 'Color temp lower/upper' so each quantity's
lower bound sorts first. Pin suggested_object_id to the field key so new
profiles keep slugging number.<profile>_min_brightness etc., identical to
profiles created before the rename; existing entity_ids are registry-
preserved via unchanged unique_ids.

New-profile defaults: brightness 5-100% -> 10-90% (5% proved too dim on
gloomy days; 90% leaves manual-boost headroom), min color temp 2200K ->
2000K (deeper warm tone won in practice). Existing profiles unaffected —
saved options and restored slider values take precedence.

Specs synced: runtime-range-controls naming table + scenarios,
output-sensors collision references. Two new tests cover the slug pin
and the lower/upper friendly-name composition.
2026-06-05 10:49:40 +02:00
..
translations Rename range sliders to lower/upper + friendlier new-profile defaults 2026-06-05 10:49:40 +02:00
__init__.py Apply ruff/black auto-fixes from ./scripts/lint 2026-06-05 10:49:30 +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 Rename range sliders to lower/upper + friendlier new-profile defaults 2026-06-05 10:49:40 +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 Rename range sliders to lower/upper + friendlier new-profile defaults 2026-06-05 10:49:40 +02:00
sensor.py Apply ruff/black auto-fixes from ./scripts/lint 2026-06-05 10:49:30 +02:00
services.yaml Groups 8 + 9: strings, services.yaml, README, CHANGELOG (37/53) 2026-05-16 14:59:09 +02:00
strings.json Rename range sliders to lower/upper + friendlier new-profile defaults 2026-06-05 10:49:40 +02:00
switch.py Apply ruff/black auto-fixes from ./scripts/lint 2026-06-05 10:49:30 +02:00