mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-10-28 06:07:13 +01:00
Address review findings on transition_until_sleep_ct_mode: match_rgb: - A black `sleep_rgb_color` (or a black blend) has no chromaticity, so there is no color temperature to match. Fall back to the linear kelvin interpolation so color-temp-only lights end at `sleep_color_temp` instead of being clamped to `min_color_temp`. - The kelvin -> RGB -> CCT round trip is approximate, so the CCT of the RGB color shown right after sunset is not exactly `min_color_temp`. Anchor the start of the trajectory to that CCT so there is no color temperature step at sunset. - Document the accepted range (0.1-10) of `transition_until_sleep_ct_curve` in README.md and docs/configuration.md, as the table formatter does. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| translations | ||
| __init__.py | ||
| _docs_helpers.py | ||
| adaptation_utils.py | ||
| color_and_brightness.py | ||
| config_flow.py | ||
| const.py | ||
| diagnostics.py | ||
| docs_gen.py | ||
| hass_utils.py | ||
| helpers.py | ||
| manifest.json | ||
| services.yaml | ||
| strings.json | ||
| switch.py | ||