mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
46 lines
1005 B
YAML
46 lines
1005 B
YAML
alias: "Wake Clint"
|
|
|
|
id: automation_wake_clint
|
|
initial_state: on
|
|
#description:
|
|
trigger:
|
|
trigger: time
|
|
at:
|
|
entity_id: input_datetime.clint_next_alarm
|
|
offset: "-300"
|
|
action:
|
|
- action: input_boolean.turn_off
|
|
data:
|
|
entity_id: input_boolean.master_bedroom_asleep
|
|
|
|
- delay:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
milliseconds: 0
|
|
|
|
- action: media_player.volume_set
|
|
data:
|
|
entity_id: media_player.master_bedroom_clock
|
|
volume_level: 0.50
|
|
|
|
- choose:
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.master_bedroom_mode
|
|
state: "off"
|
|
sequence:
|
|
- action: input_select.select_option
|
|
data:
|
|
option: Energize
|
|
target:
|
|
entity_id: input_select.master_bedroom_mode
|
|
|
|
- action: input_select.select_option
|
|
data:
|
|
option: Energize
|
|
target:
|
|
entity_id: input_select.master_bedroom_mode
|
|
|
|
- action: script.wake_up_the_master_bedroom
|