Add relative color temperature dimming

This commit is contained in:
2026-02-15 21:20:49 +01:00
parent a9fb58c87a
commit 9825e748cf
47 changed files with 276 additions and 90 deletions

View File

@@ -66,6 +66,7 @@ Only state addresses expose an `invert outgoing` toggle to flip KNX payloads.
- `xyy_state_address` (DPT 242.600): KNX group address that receives HA XY color state.
- `color_temperature_address` (DPT 5.001/7.600/9): KNX group address for color temperature commands.
- `color_temperature_state_address` (DPT 5.001/7.600/9): KNX group address that receives HA color temperature state.
- `relative_color_temperature_address` (DPT 3.007): KNX group address for relative color temperature steps.
- `color_temperature_mode`: `relative` (DPT 5.001 percent), `absolute` (DPT 7.600 Kelvin), or `absolute_float` (DPT 9 Kelvin).
- `min_kelvin` / `max_kelvin`: Kelvin range used for `relative` color temperature mapping.
- `relative_dimming_address` (DPT 3.007): KNX group address for relative dimming steps.
@@ -75,6 +76,7 @@ Notes:
- For XY color, the bridge sends the brightness as the Y (luminance) component.
- Relative dimming (DPT 3.007) maps KNX step values to small `brightness_step_pct` changes in Home Assistant.
- For relative dimming, the bridge repeats steps until a KNX stop telegram (0 or 8) is received.
- Relative color temperature (DPT 3.007) adjusts Kelvin in the same start/stop pattern.
- Color temperature mode must match the KNX telegram DPT: `relative` for 5.001, `absolute` for 7.600, `absolute_float` for DPT 9.
## Notes
@@ -100,6 +102,7 @@ Notes:
- Light `xyy_address` / `xyy_state_address`: DPT 242.600
- Light `color_temperature_address` / `color_temperature_state_address`: DPT 5.001/7.600/9
- Light `relative_dimming_address`: DPT 3.007
- Light `relative_color_temperature_address`: DPT 3.007
- Light `red_*`, `green_*`, `blue_*`, `white_*` brightness: DPT 5.001
- Light `red_*`, `green_*`, `blue_*`, `white_*` on/off: DPT 1.001
@@ -109,5 +112,5 @@ Notes:
- Advanced DPT mapping options and inversion settings.
## Versioning and Releases
- Current version: 0.0.26
- Current version: 0.0.27
- `CHANGELOG.md` lists versions with the newest entries at the top.