Fix office lights at night
This commit is contained in:
parent
ace89c2420
commit
3b3a12f415
@ -27,21 +27,40 @@ office_lights_on:
|
|||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.sleep_mode
|
entity_id: input_select.home_mode
|
||||||
state: 'on'
|
state: Day
|
||||||
sequence:
|
sequence:
|
||||||
- service: light.turn_on
|
- choose:
|
||||||
entity_id: light.office
|
- conditions:
|
||||||
data:
|
- condition: state
|
||||||
brightness_pct: 100
|
entity_id: input_boolean.sleep_mode
|
||||||
kelvin: 2000
|
state: 'on'
|
||||||
|
sequence:
|
||||||
|
- service: light.turn_on
|
||||||
|
entity_id: light.office
|
||||||
|
data:
|
||||||
|
brightness_pct: 100
|
||||||
|
kelvin: 2000
|
||||||
|
- conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.sleep_mode
|
||||||
|
state: 'off'
|
||||||
|
sequence:
|
||||||
|
- service: light.turn_on
|
||||||
|
entity_id: light.office
|
||||||
|
data:
|
||||||
|
brightness_pct: 100
|
||||||
|
kelvin: 3200
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.sleep_mode
|
entity_id: input_select.home_mode
|
||||||
state: 'off'
|
state: Night
|
||||||
sequence:
|
sequence:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: light.office
|
|
||||||
data:
|
data:
|
||||||
brightness_pct: 100
|
brightness_pct: 40
|
||||||
kelvin: 3200
|
hs_color:
|
||||||
|
- 360
|
||||||
|
- 100
|
||||||
|
target:
|
||||||
|
entity_id: light.office
|
||||||
|
Loading…
Reference in New Issue
Block a user