save lights before turn off

This commit is contained in:
darthsandmann 2022-08-09 22:27:38 +02:00
parent bcda160690
commit cc620be332

View File

@ -175,6 +175,13 @@ script:
- service: scene.turn_on
target:
entity_id: scene.light_bright
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- service: script.light_store_save
mode: single
#----------------------------------------------------------------------------------#
# Down
@ -182,6 +189,7 @@ script:
pos_down:
alias: pos_down
sequence:
- service: script.light_store_save
# 0,0
- if:
- condition: and