mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-23 10:24:18 +02:00
Extract _has_color_mode_changed() function that checks original attributes BEFORE conversion, enabling detection of all mode switches: - color_temp → RGB ✓ - color_temp → XY ✓ - RGB → color_temp ✓ (NEW) - RGB → XY ✓ (NEW) - XY → color_temp ✓ (NEW) - XY → RGB ✓ (NEW) This improves on PR #1282 by detecting mode changes in both directions, not just from color_temp. Updated tests to cover all 6 mode transitions. |
||
|---|---|---|
| .. | ||
| adaptive_lighting | ||