1
0

Add printer on/off button

This commit is contained in:
Przemek Grondek 2023-01-17 02:13:19 +01:00
parent d488b02331
commit feb247749b

View File

@ -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