1
0

Update bathroom automations

This commit is contained in:
Przemek Grondek 2021-09-22 22:54:07 +02:00
parent de422347bf
commit 89ed300406
2 changed files with 40 additions and 14 deletions

View File

@ -19,10 +19,20 @@
entity_id: light.bathroom_mirror_lights
- service: light.turn_off
entity_id: light.shower_lights
- service: light.turn_off
entity_id: light.bathroom_color_zha_group_0x0007
- service: media_player.turn_off
entity_id: media_player.bathroom_speaker
- conditions:
- condition: state
entity_id: light.bathroom_lights
state: 'off'
sequence:
- choose:
- conditions:
- condition: state
entity_id: input_select.home_mode
state: Day
sequence:
- choose:
- conditions:
@ -45,4 +55,16 @@
data:
brightness_pct: 100
kelvin: 3200
- conditions:
- condition: state
entity_id: input_select.home_mode
state: Night
sequence:
- service: light.turn_on
entity_id: light.bathroom_color_zha_group_0x0007
data:
brightness_pct: 5
hs_color:
- 360
- 100
mode: single

View File

@ -41,10 +41,12 @@
state: Night
sequence:
- service: light.turn_on
entity_id: light.bathroom_lights
entity_id: light.bathroom_color_zha_group_0x0007
data:
brightness_pct: 5
kelvin: 2700
hs_color:
- 360
- 100
mode: single
- id: bathroom-lights-off
@ -77,3 +79,5 @@
entity_id: light.bathroom_mirror_lights
- service: light.turn_off
entity_id: light.shower_lights
- service: light.turn_off
entity_id: light.bathroom_color_zha_group_0x0007