14 lines
338 B
YAML
14 lines
338 B
YAML
|
- 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
|