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:
- 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