1
0

Update Alarm clock

start music from 10% and increase music 10% every 30s
This commit is contained in:
pgrondek 2021-02-03 00:06:25 +01:00
parent bd42bcd8a6
commit 3a6f08d360

View File

@ -28,7 +28,7 @@
- delay: 0:30:00 - delay: 0:30:00
- service: media_player.volume_set - service: media_player.volume_set
data: data:
volume_level: 0.6 volume_level: 0.1
entity_id: media_player.bedroom_speaker entity_id: media_player.bedroom_speaker
- service: media_player.play_media - service: media_player.play_media
data: data:
@ -40,7 +40,17 @@
data: data:
device_name: Bedroom speaker device_name: Bedroom speaker
uri: 'spotify:playlist:71mXIu6HcdVj3fAMduaHop' uri: 'spotify:playlist:71mXIu6HcdVj3fAMduaHop'
random_song: true - repeat:
until:
- condition: numeric_state
entity_id: media_player.bedroom_speaker
attribute: volume_level
above: '90'
sequence:
- delay: '30'
- service: media_player.volume_up
entity_id: media_player.bedroom_speaker
mode: single mode: single
- id: alarm-update-time - id: alarm-update-time
alias: '[Alarm] Update alarm time' alias: '[Alarm] Update alarm time'