I don't know what I was on when I wrote the master bedroom automations
This commit is contained in:
@ -46,6 +46,11 @@ automation:
|
|||||||
to: 'off'
|
to: 'off'
|
||||||
id: sleep-off
|
id: sleep-off
|
||||||
action:
|
action:
|
||||||
|
- choose:
|
||||||
|
- conditions:
|
||||||
|
- condition: trigger
|
||||||
|
id: sleep-off
|
||||||
|
sequence:
|
||||||
- service: script.master_bedroom_wakeup
|
- service: script.master_bedroom_wakeup
|
||||||
|
|
||||||
# TODO: Add actions when sleep mode is activated
|
# TODO: Add actions when sleep mode is activated
|
||||||
@ -55,11 +60,9 @@ script:
|
|||||||
alias: 'Master Bedroom Wakeup'
|
alias: 'Master Bedroom Wakeup'
|
||||||
mode: restart
|
mode: restart
|
||||||
sequence:
|
sequence:
|
||||||
- choose:
|
- service: switch.turn_off
|
||||||
- conditions:
|
target:
|
||||||
- condition: trigger
|
entity_id: switch.master_bedroom_echo_dot_do_not_disturb_switch
|
||||||
id: sleep-off
|
|
||||||
sequence:
|
|
||||||
- service: media_player.volume_set
|
- service: media_player.volume_set
|
||||||
target:
|
target:
|
||||||
entity_id: media_player.master_bedroom_echo_dot
|
entity_id: media_player.master_bedroom_echo_dot
|
||||||
|
Reference in New Issue
Block a user