1
0
ansible-home-assistant/configuration/automations/computer-button.yaml

26 lines
621 B
YAML
Raw Normal View History

- id: office-button-light-toggle
2021-10-11 18:15:50 +00:00
alias: '[Office] Button Light'
mode: single
2020-12-06 19:47:20 +00:00
trigger:
- device_id: 5b972523e427721ec88e095994f7cc16
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
action:
- service: script.office_lights_toggle
2021-05-10 10:24:31 +00:00
- id: office-button-wol
2022-05-13 22:02:03 +00:00
alias: '[Office] Button WoL'
2020-12-06 19:47:20 +00:00
trigger:
- device_id: 5b972523e427721ec88e095994f7cc16
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_off
2022-05-13 22:02:03 +00:00
action:
- service: switch.turn_on
target:
entity_id: switch.hulk_wol
2020-12-06 19:47:20 +00:00
mode: single