Update Alarm clock
start music from 10% and increase music 10% every 30s
This commit is contained in:
parent
bd42bcd8a6
commit
3a6f08d360
@ -28,7 +28,7 @@
|
||||
- delay: 0:30:00
|
||||
- service: media_player.volume_set
|
||||
data:
|
||||
volume_level: 0.6
|
||||
volume_level: 0.1
|
||||
entity_id: media_player.bedroom_speaker
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
@ -40,7 +40,17 @@
|
||||
data:
|
||||
device_name: Bedroom speaker
|
||||
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
|
||||
- id: alarm-update-time
|
||||
alias: '[Alarm] Update alarm time'
|
||||
|
Loading…
Reference in New Issue
Block a user