Changed night-lighting to an "if" so welcome home runs either way

This commit is contained in:
2022-09-01 16:12:00 -04:00
parent d844d72240
commit da54707bde

View File

@ -311,9 +311,11 @@ script:
- dining_room - dining_room
- living_room - living_room
data: {} data: {}
- if:
- condition: sun - condition: sun
after: sunset after: sunset
after_offset: -00:30 after_offset: -00:30
then:
- service: light.turn_on - service: light.turn_on
data: {} data: {}
target: target: