mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
alias: Wake Up the Master Bedroom
|
||||
mode: single
|
||||
icon: mdi:alarm
|
||||
sequence:
|
||||
- repeat:
|
||||
while:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.master_bed_occupied
|
||||
state: "on"
|
||||
sequence:
|
||||
- variables:
|
||||
volume: "{{ 0.5 + (repeat.index * 0.05) }}"
|
||||
- service: script.make_clever_announcement
|
||||
data:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
media_content_id: media-source://media_source/local/Sounds/tts/time_to_wake_up.mp3
|
||||
volume: "{{iif(volume>1,1,volume)}}"
|
||||
- service: script.make_clever_announcement
|
||||
data:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
media_content_id: media-source://media_source/local/Sounds/alarms/Alarm_Clock.mp3
|
||||
volume: "{{iif(volume>1,1,volume)}}"
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 5
|
||||
seconds: 0
|
||||
milliseconds: 0
|
||||
|
||||
- service: input_select.select_option
|
||||
data:
|
||||
option: Auto
|
||||
target:
|
||||
entity_id: input_select.master_bedroom_mode
|
||||
Reference in New Issue
Block a user