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:
|
||||
|
Loading…
Reference in New Issue
Block a user