diff --git a/configuration/automations/rack.yaml b/configuration/automations/rack.yaml new file mode 100644 index 0000000..02a158d --- /dev/null +++ b/configuration/automations/rack.yaml @@ -0,0 +1,13 @@ +- id: rack-printer-button + alias: '[Rack] Printer toggle button' + trigger: + - device_id: 0c23a8e92f43f628e584dc1805c6915e + domain: zha + platform: device + type: remote_button_short_press + subtype: turn_on + action: + - service: switch.toggle + data: {} + target: + entity_id: switch.printer_switch