Fix bathroom button at night
This commit is contained in:
parent
f1281d8215
commit
ace89c2420
@ -3,9 +3,14 @@ bathroom_lights_toggle:
|
||||
sequence:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: light.bathroom_lights
|
||||
state: 'on'
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: light.bathroom_lights
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: light.bathroom_color_zha_group_0x0007
|
||||
state: "on"
|
||||
sequence:
|
||||
- service: script.bathroom_lights_off
|
||||
- conditions:
|
||||
@ -176,4 +181,4 @@ bathroom_shower_lights_off:
|
||||
alias: '[Bathroom] Shower lights off'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
entity_id: light.shower_lights
|
||||
entity_id: light.shower_lights
|
||||
|
Loading…
Reference in New Issue
Block a user