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