I don't know what I was on when I wrote the master bedroom automations

This commit is contained in:
2023-03-06 13:20:37 -05:00
parent 2b59264243
commit d710552aa6

View File

@ -46,6 +46,11 @@ automation:
to: 'off'
id: sleep-off
action:
- choose:
- conditions:
- condition: trigger
id: sleep-off
sequence:
- service: script.master_bedroom_wakeup
# TODO: Add actions when sleep mode is activated
@ -55,11 +60,9 @@ script:
alias: 'Master Bedroom Wakeup'
mode: restart
sequence:
- choose:
- conditions:
- condition: trigger
id: sleep-off
sequence:
- service: switch.turn_off
target:
entity_id: switch.master_bedroom_echo_dot_do_not_disturb_switch
- service: media_player.volume_set
target:
entity_id: media_player.master_bedroom_echo_dot