From ce161a8977f029f5da5f306cc848af27df481cc6 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Fri, 27 Mar 2026 21:03:10 +0000 Subject: [PATCH] [FIX] color_temp attribute renamed to color_temp_kelvin --- ...201-E2213_ZHA-Z2M_control-light-with-double-press.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ikea_E1743-E2201-E2213_ZHA-Z2M_control-light-with-double-press.yaml b/ikea_E1743-E2201-E2213_ZHA-Z2M_control-light-with-double-press.yaml index b5ba1fd..584cc6a 100644 --- a/ikea_E1743-E2201-E2213_ZHA-Z2M_control-light-with-double-press.yaml +++ b/ikea_E1743-E2201-E2213_ZHA-Z2M_control-light-with-double-press.yaml @@ -406,7 +406,7 @@ actions: then: - action: light.turn_on data: - color_temp: "{% if state_attr(light, 'color_temp')|int >= helper_max_temperature %}{{ helper_min_temperature }}{% else %}{{ state_attr(light, 'color_temp')|int + helper_temperature_change_step }}{% endif %}" + color_temp_kelvin: "{% if state_attr(light, 'color_temp_kelvin')|int >= helper_max_temperature %}{{ helper_min_temperature }}{% else %}{{ state_attr(light, 'color_temp_kelvin')|int + helper_temperature_change_step }}{% endif %}" transition: !input helper_temperature_transition_time target: entity_id: !input light @@ -449,7 +449,7 @@ actions: then: - action: light.turn_on data: - color_temp: "{% if state_attr(light, 'color_temp')|int >= helper_max_temperature %}{{ helper_min_temperature }}{% else %}{{ state_attr(light, 'color_temp')|int + helper_temperature_change_step }}{% endif %}" + color_temp_kelvin: "{% if state_attr(light, 'color_temp_kelvin')|int >= helper_max_temperature %}{{ helper_min_temperature }}{% else %}{{ state_attr(light, 'color_temp_kelvin')|int + helper_temperature_change_step }}{% endif %}" transition: !input helper_temperature_transition_time target: entity_id: !input light @@ -476,7 +476,7 @@ actions: then: - action: light.turn_on data: - color_temp: "{% if state_attr(light, 'color_temp')|int >= helper_max_temperature %}{{ helper_min_temperature }}{% else %}{{ state_attr(light, 'color_temp')|int + helper_temperature_change_step }}{% endif %}" + color_temp_kelvin: "{% if state_attr(light, 'color_temp_kelvin')|int >= helper_max_temperature %}{{ helper_min_temperature }}{% else %}{{ state_attr(light, 'color_temp_kelvin')|int + helper_temperature_change_step }}{% endif %}" transition: !input helper_temperature_transition_time target: entity_id: !input light @@ -503,7 +503,7 @@ actions: then: - action: light.turn_on data: - color_temp: "{% if state_attr(light, 'color_temp')|int >= helper_max_temperature %}{{ helper_min_temperature }}{% else %}{{ state_attr(light, 'color_temp')|int + helper_temperature_change_step }}{% endif %}" + color_temp_kelvin: "{% if state_attr(light, 'color_temp_kelvin')|int >= helper_max_temperature %}{{ helper_min_temperature }}{% else %}{{ state_attr(light, 'color_temp_kelvin')|int + helper_temperature_change_step }}{% endif %}" transition: !input helper_temperature_transition_time target: entity_id: !input light