adaptive-lighting/openspec
Casey 76f04237d7 lux_reduction sensor: report reduction %, not retained factor
The 'Lux reduction' sensor published the retained brightness factor, so it
read 100% when nothing was being reduced (0% actual reduction) — the label
and value were inverses. Now it publishes the actual reduction:
100 - round(factor*100), so 0% = no dimming, higher = more cut, None when
the gate is inactive.

Updates the output-sensors spec scenarios to match (71 -> 29, 100 -> 0,
adds the gate-inactive None case) and adds a publish-level value test
(none existed — the prior scenarios were never enforced in code).
2026-05-30 22:35:59 +02:00
..
changes/archive Archive add-lux-target: 26/26 + sync main specs 2026-05-25 16:15:16 +02:00
specs lux_reduction sensor: report reduction %, not retained factor 2026-05-30 22:35:59 +02:00
config.yaml Scaffold CDiT fork: planning artifacts and tooling 2026-05-16 12:24:34 +02:00