Fix relative CT start/stop handling

This commit is contained in:
2026-02-15 22:10:18 +01:00
parent 91f51cb414
commit 69267f7c0f
5 changed files with 12 additions and 8 deletions

View File

@@ -678,13 +678,13 @@ class BridgeManager:
)
self._register_knx_light_command(
port.relative_color_temperature_address,
"control_dimming",
None,
port,
"relative_color_temperature",
)
self._register_knx_light_command(
port.relative_dimming_address,
"control_dimming",
None,
port,
"relative_dimming",
)
@@ -1180,7 +1180,7 @@ class BridgeManager:
if port.entity_id in self._light_dimming_tasks:
self._stop_light_dimming(port.entity_id)
return
self._apply_light_dimming_step(
self._start_light_dimming(
port.entity_id, direction, 1
)
return
@@ -1208,7 +1208,7 @@ class BridgeManager:
if port.entity_id in self._light_ct_tasks:
self._stop_light_ct_adjust(port.entity_id)
return
self._apply_light_ct_step_once(
self._start_light_ct_adjust(
port, direction, 1
)
return

View File

@@ -1,7 +1,7 @@
{
"domain": "ha_knx_bridge",
"name": "HA KNX Bridge",
"version": "0.0.31",
"version": "0.0.32",
"config_flow": true,
"documentation": "https://github.com/bahmcloud/HA-KNX-Bridge",
"issue_tracker": "https://github.com/bahmcloud/HA-KNX-Bridge/issues",