From 47e191f22f5168b86434cf316cd2316d062f9cab Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Sun, 15 Feb 2026 10:22:18 +0100 Subject: [PATCH] Update variables --- alarm_clock.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/alarm_clock.yaml b/alarm_clock.yaml index 3d37634..73ebc99 100644 --- a/alarm_clock.yaml +++ b/alarm_clock.yaml @@ -80,10 +80,7 @@ trigger_variables: time_offset: !input time_offset variables: - binary_condition: !input binary_condition presence_condition: !input presence_condition - target_light: !input target_light - sleep_mode: !input sleep_mode trigger: - platform: template @@ -109,9 +106,9 @@ condition: action: - sequence: !input before_wake_up - service: switch.turn_off - entity_id: !input 'sleep_mode' + entity_id: !input sleep_mode - service: light.turn_on - entity_id: !input 'target_light' + entity_id: !input target_light data: brightness_pct: 100 transition: "{{ time_offset * 60 }}" @@ -122,7 +119,7 @@ action: - delay: minutes: !input turn_off_delay - service: light.turn_off - entity_id: !input 'target_light' + entity_id: !input target_light data: transition: 60 - sequence: !input after_wake_up \ No newline at end of file