1
0

Fix [Bathroom] Button On/Off

This commit is contained in:
Przemek Grondek 2023-10-11 22:10:07 +02:00
parent af3dc3985b
commit a0f8be41b1

View File

@ -39,6 +39,7 @@
- id: button_bathroom_on_off - id: button_bathroom_on_off
alias: '[Bathroom] Button On/Off' alias: '[Bathroom] Button On/Off'
mode: single
trigger: trigger:
- device_id: 36bf09a72c8115dd3afd832e83cf38ea - device_id: 36bf09a72c8115dd3afd832e83cf38ea
domain: zha domain: zha
@ -51,7 +52,6 @@
type: remote_button_alt_short_press type: remote_button_alt_short_press
subtype: button_2 subtype: button_2
action: action:
- service: script.bathroom_lights_toggle
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
@ -63,4 +63,4 @@
entity_id: entity_id:
- automation.bathroom_shower_motion_off - automation.bathroom_shower_motion_off
- automation.bathroom_lights_off - automation.bathroom_lights_off
mode: single - service: script.bathroom_lights_toggle