1
0
ansible-home-assistant/configuration/automations/rack.yaml

14 lines
338 B
YAML
Raw Normal View History

- id: rack_printer_button
2023-01-17 01:13:19 +00:00
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