Update variables

This commit is contained in:
TheThomaas 2026-02-15 10:22:18 +01:00
parent 5be661029b
commit 47e191f22f

View file

@ -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