13 lines
277 B
YAML
13 lines
277 B
YAML
|
- id: computer_awake
|
||
|
alias: '[Computer] awakes'
|
||
|
mode: single
|
||
|
trigger:
|
||
|
- platform: state
|
||
|
entity_id: binary_sensor.desktop
|
||
|
to: 'on'
|
||
|
from: 'off'
|
||
|
action:
|
||
|
- service: input_boolean.turn_off
|
||
|
target:
|
||
|
entity_id: input_boolean.pc_sleeping
|