From 289b80c519d7558c01f40265284e8cf252ca199a Mon Sep 17 00:00:00 2001 From: pgrondek Date: Thu, 24 Jun 2021 20:25:46 +0200 Subject: [PATCH] Addo computer blinds automations --- .../automations/computer-blinds.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 configuration/automations/computer-blinds.yaml diff --git a/configuration/automations/computer-blinds.yaml b/configuration/automations/computer-blinds.yaml new file mode 100644 index 0000000..5a1a498 --- /dev/null +++ b/configuration/automations/computer-blinds.yaml @@ -0,0 +1,25 @@ +- id: button-computer-blinds-up + alias: '[Computer Blinds] Up' + trigger: + - device_id: 6818c2a8921603a8a04e6c6f4d45a8ec + domain: zha + platform: device + type: remote_button_short_press + subtype: turn_on + action: + - service: cover.close_cover + entity_id: cover.computer_cave_blinds + mode: single + +- id: button-computer-blinds-down + alias: '[Computer Blinds] Down' + trigger: + - device_id: 6818c2a8921603a8a04e6c6f4d45a8ec + domain: zha + platform: device + type: remote_button_short_press + subtype: turn_off + action: + - service: cover.open_cover + entity_id: cover.computer_cave_blinds + mode: single