adaptive-lighting/custom_components/adaptive_lighting
Bas Nijholt 4feaf2c291
Add bidirectional color mode change detection (issue #1275) (#1299)
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 ✓
- RGB → XY ✓
- XY → color_temp ✓
- XY → RGB ✓

This improves on PR #1282 by detecting mode changes in both directions.
2025-11-27 10:02:50 -08:00
..
translations Translations update from Hosted Weblate (#1160) 2025-06-15 21:38:10 -07:00
__init__.py Fix some type hint issues (#1280) 2025-11-27 09:35:09 -08:00
_docs_helpers.py Fix some type hint issues (#1280) 2025-11-27 09:35:09 -08:00
adaptation_utils.py Fix some type hint issues (#1280) 2025-11-27 09:35:09 -08:00
color_and_brightness.py Fix some type hint issues (#1280) 2025-11-27 09:35:09 -08:00
config_flow.py Fix some type hint issues (#1280) 2025-11-27 09:35:09 -08:00
const.py Fix trailing spaces in const.py: restore correct one, remove incorrect one (#1148) 2025-01-01 14:18:54 -08:00
hass_utils.py Fix HA 2025.12 breaking (#1291) 2025-11-27 08:05:30 -08:00
helpers.py [pre-commit.ci] pre-commit autoupdate (#882) 2024-02-05 14:13:13 -08:00
manifest.json Bump to 1.27.0 for fixes in 2025.12 (#1293) 2025-11-27 09:06:41 -08:00
services.yaml Use markdown-code-runner==2.1.0 (#1152) 2025-01-01 16:19:08 -08:00
strings.json Use markdown-code-runner==2.1.0 (#1152) 2025-01-01 16:19:08 -08:00
switch.py Add bidirectional color mode change detection (issue #1275) (#1299) 2025-11-27 10:02:50 -08:00