1
0

Update Alarm Clock

This commit is contained in:
Przemek Grondek 2022-06-05 22:28:11 +02:00
parent bbf4bd3d00
commit 25e36ffc59

View File

@ -1,5 +1,5 @@
- id: alarm-automation
alias: '[Alarm] Wakeup automation'
- id: alarm-clock-automation
alias: '[Alarm-Clock] Wakeup automation'
trigger:
- platform: state
entity_id: calendar.automations_wakeup
@ -13,25 +13,19 @@
data:
kelvin: 2000
brightness: 1
entity_id: light.bedroom_lights
entity_id:
- light.bedroom_lights
- light.bed_lamps
- light.bed_lightstrip
- service: light.turn_on
data:
kelvin: 5300
transition: 1800
brightness: 255
entity_id: light.bedroom_lights
- service: light.turn_on
data:
kelvin: 5300
transition: 1800
brightness: 255
entity_id: light.bed_lamps
- service: light.turn_on
data:
kelvin: 5300
transition: 1800
brightness: 255
entity_id: light.bed_lightstrip
entity_id:
- light.bedroom_lights
- light.bed_lamps
- light.bed_lightstrip
- repeat:
count: 10
sequence:
@ -42,6 +36,12 @@
position: "{{ repeat.index * 10 | int }}"
- delay:
seconds: 180
- choose:
- conditions:
- condition: state
entity_id: alarm_control_panel.home_alarm
state: disarmed
sequence:
- service: media_player.volume_set
data:
volume_level: 0.1
@ -60,4 +60,10 @@
target:
entity_id:
- automation.bedroom_motion_off
- service: light.turn_off
target:
entity_id:
- light.bedroom_lights
- light.bed_lamps
- light.bed_lightstrip
mode: single