From 055938603e939c6d25692cd3a0c31795aeab4c73 Mon Sep 17 00:00:00 2001 From: farmio Date: Wed, 11 Jun 2025 22:24:56 +0200 Subject: [PATCH] Fix xyy state address retrieval --- homeassistant/components/knx/light.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/knx/light.py b/homeassistant/components/knx/light.py index 2969bc44827..e9f6c55bf33 100644 --- a/homeassistant/components/knx/light.py +++ b/homeassistant/components/knx/light.py @@ -254,7 +254,9 @@ def _create_ui_light(xknx: XKNX, knx_config: ConfigType, name: str) -> XknxLight group_address_xyy_color=conf.get_write(CONF_COLOR, CONF_GA_COLOR) if color_dpt == LightColorMode.XYY else None, - group_address_xyy_color_state=conf.get_write(CONF_COLOR, CONF_GA_COLOR) + group_address_xyy_color_state=conf.get_state_and_passive( + CONF_COLOR, CONF_GA_COLOR + ) if color_dpt == LightColorMode.XYY else None, group_address_tunable_white=group_address_tunable_white,