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

13 lines
279 B
YAML

- id: computer_awake
alias: '[Computer] awakes'
mode: single
trigger:
- platform: state
entity_id: binary_sensor.hulk_ping
to: 'on'
from: 'off'
action:
- service: input_boolean.turn_off
target:
entity_id: input_boolean.pc_sleeping