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 @@ The integration should:
- Auto-select appropriate KNX DPTs and request only the group addresses needed.
- Ignore missing/empty group addresses without errors.
Target compatibility: Home Assistant 2025.12 with forward compatibility to 2026.2.
Target compatibility: Home Assistant 2025.12 with forward compatibility to 2026.03.
Project rules:
- Keep `README.md` updated for user-relevant changes after each new version.
@@ -18,7 +18,7 @@ Project rules:
- Releases are created only when explicitly requested.
- Version number must match everywhere it is referenced (manifest, changelog, README, HACS if used).
## Current State (as of 2026-02-15)
## Current State (as of 2026-03-09)
Completed:
- Repo initialized with `main` branch and pushed to GitHub.
- HACS metadata (`hacs.json`) and base integration scaffold created.
@@ -48,8 +48,9 @@ Completed:
- Relative color temperature control wired into light schema, UI order adjusted, and KNX color temperature types aligned.
- Color temperature service calls now use mireds for better compatibility.
- Relative dimming/color temperature decoding improved for control/stepcode payloads.
- Relative dimming/CT now treat step_code 0 as a start/stop toggle and rely on raw payload parsing.
- Project version set to 0.0.32 and `CHANGELOG.md` maintained.
- Relative dimming/CT now parse control strings from DPT 3.007 payloads and treat raw step values as percent steps (0/8 stop).
- Home Assistant 2026.03 compatibility fix: graceful fallback for removed `ATTR_COLOR_TEMP` import and color temperature service calls now use Kelvin.
- Project version set to 0.0.34 and `CHANGELOG.md` maintained.
Files created:
- `custom_components/ha_knx_bridge/__init__.py`