1
0
Fork 0

Changes in alarm

Fix morning alarm clock automation
 separate alarm clock logic from good morning script
This commit is contained in:
Przemek Grondek 2021-09-24 00:29:08 +02:00
parent 985795638e
commit e3b1cb1512
2 changed files with 17 additions and 17 deletions

View file

@ -5,7 +5,22 @@
entity_id: calendar.automations_wakeup entity_id: calendar.automations_wakeup
to: 'on' to: 'on'
action: action:
- service: script.good_morning - service: light.turn_on
data:
kelvin: 2000
brightness: 1
entity_id: light.bedroom_lights
- service: cover.set_cover_position
target:
entity_id: cover.bedroom_blinds
data:
position: 10
- service: light.turn_on
data:
kelvin: 5300
transition: 1800
brightness: 255
entity_id: light.bedroom_lights
- delay: - delay:
minutes: 30 minutes: 30
- service: media_player.volume_set - service: media_player.volume_set
@ -18,4 +33,5 @@
entity_id: media_player.bedroom entity_id: media_player.bedroom
media_content_id: 'https://open.spotify.com/playlist/3Qu9kE0ivJIkn76pxTLMFe' media_content_id: 'https://open.spotify.com/playlist/3Qu9kE0ivJIkn76pxTLMFe'
media_content_type: music media_content_type: music
- service: script.good_morning
mode: single mode: single

View file

@ -58,22 +58,6 @@ good_night:
good_morning: good_morning:
alias: Good Morning alias: Good Morning
sequence: sequence:
- service: light.turn_on
data:
kelvin: 2000
brightness: 1
entity_id: light.bedroom_lights
- service: cover.set_cover_position
target:
entity_id: cover.living_room_blind
data:
position: 10
- service: light.turn_on
data:
kelvin: 5300
transition: 1800
brightness: 255
entity_id: light.bedroom_lights
- service: cover.open_cover - service: cover.open_cover
entity_id: entity_id:
- cover.bedroom_blinds - cover.bedroom_blinds