Fix bathroom button at night
This commit is contained in:
parent
f1281d8215
commit
ace89c2420
@ -3,9 +3,14 @@ bathroom_lights_toggle:
|
|||||||
sequence:
|
sequence:
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
|
- condition: or
|
||||||
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.bathroom_lights
|
entity_id: light.bathroom_lights
|
||||||
state: 'on'
|
state: "on"
|
||||||
|
- condition: state
|
||||||
|
entity_id: light.bathroom_color_zha_group_0x0007
|
||||||
|
state: "on"
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.bathroom_lights_off
|
- service: script.bathroom_lights_off
|
||||||
- conditions:
|
- conditions:
|
||||||
|
Loading…
Reference in New Issue
Block a user