1
0

Fix bathroom button at night

This commit is contained in:
Przemek Grondek 2023-11-23 21:21:44 +01:00
parent f1281d8215
commit ace89c2420

View File

@ -3,9 +3,14 @@ bathroom_lights_toggle:
sequence: sequence:
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: or
entity_id: light.bathroom_lights conditions:
state: 'on' - condition: state
entity_id: light.bathroom_lights
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: