Fix HA 2026.03 light color temp compatibility and bump 0.0.34

This commit is contained in:
2026-03-09 08:20:49 +01:00
parent 69267f7c0f
commit 221454d5e8
5 changed files with 50 additions and 49 deletions

View File

@@ -10,7 +10,7 @@ Current minimal scope:
- Light port (KNX -> HA commands, HA state -> KNX)
## Requirements
- Home Assistant 2025.12 or newer (tested for compatibility with 2026.2).
- Home Assistant 2025.12 or newer (tested for compatibility with 2026.03).
- The built-in KNX integration must be set up and running.
## Install (HACS)
@@ -77,8 +77,8 @@ Notes:
- Relative dimming (DPT 3.007) maps KNX step values (control/stepcode) 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.
- Some KNX keypads send `step_code 0` for a start/stop toggle; the bridge treats `step_code 0` as start when idle and stop when already dimming.
- Color temperature mode must match the KNX telegram DPT: `relative` for 5.001, `absolute` for 7.600 (2-byte unsigned), `absolute_float` for DPT 9 (2-byte float). The bridge sends HA color temperature using `color_temp` (mireds) for maximum compatibility.
- Step values `1..7` dim down, `9..15` dim up, and `0/8` stop; the bridge uses the raw step value as the percent step size.
- Color temperature mode must match the KNX telegram DPT: `relative` for 5.001, `absolute` for 7.600 (2-byte unsigned), `absolute_float` for DPT 9 (2-byte float). The bridge sends HA color temperature using `color_temp_kelvin`.
## Notes
- For DPT 1.008 (Up/Down), the bridge treats `0 = Up/Open` and `1 = Down/Close`.
@@ -113,5 +113,5 @@ Notes:
- Advanced DPT mapping options and inversion settings.
## Versioning and Releases
- Current version: 0.0.32
- Current version: 0.0.34
- `CHANGELOG.md` lists versions with the newest entries at the top.