mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Fix xyy state address retrieval
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user