26 lines
621 B
YAML
26 lines
621 B
YAML
- id: office_button_light_toggle
|
|
alias: '[Office] Button Light'
|
|
mode: single
|
|
trigger:
|
|
- device_id: 5b972523e427721ec88e095994f7cc16
|
|
domain: zha
|
|
platform: device
|
|
type: remote_button_short_press
|
|
subtype: turn_on
|
|
action:
|
|
- service: script.office_lights_toggle
|
|
|
|
- id: office_button_wol
|
|
alias: '[Office] Button WoL'
|
|
trigger:
|
|
- device_id: 5b972523e427721ec88e095994f7cc16
|
|
domain: zha
|
|
platform: device
|
|
type: remote_button_short_press
|
|
subtype: turn_off
|
|
action:
|
|
- service: switch.turn_on
|
|
target:
|
|
entity_id: switch.hulk_wol
|
|
mode: single
|