Fix office lights at night
This commit is contained in:
parent
ace89c2420
commit
3b3a12f415
@ -23,6 +23,12 @@ office_lights_off:
|
||||
|
||||
office_lights_on:
|
||||
alias: '[Office] Lights on'
|
||||
sequence:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
sequence:
|
||||
- choose:
|
||||
- conditions:
|
||||
@ -45,3 +51,16 @@ office_lights_on:
|
||||
data:
|
||||
brightness_pct: 100
|
||||
kelvin: 3200
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Night
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
brightness_pct: 40
|
||||
hs_color:
|
||||
- 360
|
||||
- 100
|
||||
target:
|
||||
entity_id: light.office
|
||||
|
Loading…
Reference in New Issue
Block a user