Add a staggered bedroom sunrise automation
This commit is contained in:
parent
d23d460531
commit
22e66cf8a5
|
@ -48,8 +48,6 @@ bedroom_lights:
|
|||
- light.stephanies_nightstand
|
||||
- light.standing_lamp
|
||||
- scene.colorful
|
||||
- scene.dawn
|
||||
- scene.morning
|
||||
|
||||
consoles:
|
||||
name: Gaming Consoles
|
||||
|
|
|
@ -0,0 +1,73 @@
|
|||
scene:
|
||||
- name: Dawn Sun
|
||||
entities:
|
||||
light.standing_lamp:
|
||||
state: on
|
||||
brightness: 1
|
||||
xy_color: [0.6042, 0.3739]
|
||||
- name: Dawn Daylight
|
||||
entities:
|
||||
light.correls_nightstand:
|
||||
state: on
|
||||
brightness: 1
|
||||
xy_color: [0.2376, 0.1186]
|
||||
light.stephanies_nightstand:
|
||||
state: on
|
||||
brightness: 1
|
||||
xy_color: [0.2376, 0.1186]
|
||||
- name: Sunrise Sun
|
||||
entities:
|
||||
light.standing_lamp:
|
||||
state: on
|
||||
transition: 1800
|
||||
brightness: 254
|
||||
xy_color: [0.3769, 0.3639]
|
||||
- name: Sunrise Daylight
|
||||
entities:
|
||||
light.correls_nightstand:
|
||||
state: on
|
||||
transition: 1800
|
||||
brightness: 203
|
||||
xy_color: [0.2698, 0.295]
|
||||
light.stephanies_nightstand:
|
||||
state: on
|
||||
transition: 1800
|
||||
brightness: 203
|
||||
xy_color: [0.2698, 0.295]
|
||||
script:
|
||||
sunrise:
|
||||
alias: Sunrise
|
||||
sequence:
|
||||
- service: scene.turn_on
|
||||
data:
|
||||
entity_id: scene.dawn_sun
|
||||
- service: scene.turn_on
|
||||
data:
|
||||
entity_id: scene.sunrise_sun
|
||||
- delay:
|
||||
seconds: 180
|
||||
- service: scene.turn_on
|
||||
data:
|
||||
entity_id: scene.dawn_daylight
|
||||
- service: scene.turn_on
|
||||
data:
|
||||
entity_id: scene.sunrise_daylight
|
||||
automation:
|
||||
- alias: Sunrise
|
||||
action:
|
||||
- service: script.sunrise
|
||||
data: {}
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunrise
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.phones
|
||||
state: home
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
28
scenes.yaml
28
scenes.yaml
|
@ -31,34 +31,6 @@
|
|||
light.living_room:
|
||||
state: on
|
||||
brightness_pct: 20
|
||||
- name: Dawn
|
||||
entities:
|
||||
light.standing_lamp:
|
||||
state: on
|
||||
brightness: 1
|
||||
xy_color: [0.6042, 0.3739]
|
||||
light.correls_nightstand:
|
||||
state: on
|
||||
brightness: 1
|
||||
xy_color: [0.2376, 0.1186]
|
||||
light.stephanies_nightstand:
|
||||
state: on
|
||||
brightness: 1
|
||||
xy_color: [0.2376, 0.1186]
|
||||
- name: Morning
|
||||
entities:
|
||||
light.standing_lamp:
|
||||
state: on
|
||||
brightness: 254
|
||||
xy_color: [0.3769, 0.3639]
|
||||
light.correls_nightstand:
|
||||
state: on
|
||||
brightness: 203
|
||||
xy_color: [0.2698, 0.295]
|
||||
light.stephanies_nightstand:
|
||||
state: on
|
||||
brightness: 1
|
||||
xy_color: [0.2698, 0.295]
|
||||
- name: Colorful
|
||||
entities:
|
||||
light.standing_lamp:
|
||||
|
|
Loading…
Reference in New Issue