From 06f54cc98295464c68b8f17acf3558179642d0d7 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Tue, 11 Jan 2022 00:12:18 +0100 Subject: [PATCH] Change bathroom button --- configuration/automations/bathroom-lights.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/configuration/automations/bathroom-lights.yaml b/configuration/automations/bathroom-lights.yaml index a352101..ad80864 100644 --- a/configuration/automations/bathroom-lights.yaml +++ b/configuration/automations/bathroom-lights.yaml @@ -40,11 +40,16 @@ - id: button-bathroom-on-off alias: '[Bathroom] Button On/Off' trigger: - - device_id: 0c23a8e92f43f628e584dc1805c6915e + - device_id: 36bf09a72c8115dd3afd832e83cf38ea domain: zha platform: device - type: remote_button_short_press - subtype: turn_on + type: remote_button_alt_short_press + subtype: button_1 + - device_id: 36bf09a72c8115dd3afd832e83cf38ea + domain: zha + platform: device + type: remote_button_alt_short_press + subtype: button_2 action: - service: script.bathroom_lights_toggle mode: single \ No newline at end of file