From 53d22ed9efb0b5cab2f346170b6b44d1d5d4cdab Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Tue, 27 Jul 2021 00:28:52 +0200 Subject: [PATCH] Add bedroom blinds button --- configuration/automations/bedroom-blinds.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 configuration/automations/bedroom-blinds.yaml diff --git a/configuration/automations/bedroom-blinds.yaml b/configuration/automations/bedroom-blinds.yaml new file mode 100644 index 0000000..5b153cf --- /dev/null +++ b/configuration/automations/bedroom-blinds.yaml @@ -0,0 +1,25 @@ +- id: bedroom-blinds-button-up + alias: '[Bedroom Blinds] Up' + trigger: + - device_id: c90f649df514f80d36ca1a8fde308867 + domain: zha + platform: device + type: remote_button_short_press + subtype: turn_on + action: + - service: cover.close_cover + entity_id: cover.bedroom_blinds + mode: single + +- id: bedroom-blinds-button-down + alias: '[Bedroom Blinds] Down' + trigger: + - device_id: c90f649df514f80d36ca1a8fde308867 + domain: zha + platform: device + type: remote_button_short_press + subtype: turn_off + action: + - service: cover.open_cover + entity_id: cover.bedroom_blinds + mode: single