From 8bf24b57dd707281edb9a3f5be216a134c80bc54 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Thu, 1 Dec 2022 16:02:01 +0200 Subject: [PATCH] Fix temp automation --- packages/modules/lighting/temperature.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/modules/lighting/temperature.yaml b/packages/modules/lighting/temperature.yaml index debcee5..a9e5e89 100644 --- a/packages/modules/lighting/temperature.yaml +++ b/packages/modules/lighting/temperature.yaml @@ -66,16 +66,16 @@ automation: entities: light.living_room_main: state: "{{ states('light.living_room_main') }}" - color_temp: "{{ trigger.to_state }}" + color_temp: "{{ trigger.to_state.state }}" light.hue_ambiance_7: state: "{{ states('light.hue_ambiance_7') }}" - color_temp: "{{ trigger.to_state }}" + color_temp: "{{ trigger.to_state.state }}" light.master_bedroom_main: state: "{{ states('light.master_bedroom_main') }}" - color_temp: "{{ trigger.to_state }}" + color_temp: "{{ trigger.to_state.state }}" light.kitchen_main: state: "{{ states('light.kitchen_main') }}" - color_temp: "{{ trigger.to_state }}" + color_temp: "{{ trigger.to_state.state }}" light.kitchen_secondary: state: "{{ states('light.kitchen_secondary') }}" - color_temp: "{{ trigger.to_state }}" + color_temp: "{{ trigger.to_state.state }}"