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

13 lines
279 B
YAML
Raw Normal View History

2021-05-04 07:57:53 +00:00
- id: computer_awake
alias: '[Computer] awakes'
mode: single
trigger:
- platform: state
2022-05-05 22:50:00 +00:00
entity_id: binary_sensor.hulk_ping
2021-05-04 07:57:53 +00:00
to: 'on'
from: 'off'
action:
- service: input_boolean.turn_off
target:
entity_id: input_boolean.pc_sleeping