1
0

Add automation to mark pc is awake

This commit is contained in:
pgrondek 2021-05-04 09:57:53 +02:00
parent a11c2a60e4
commit ab2a381a44

View File

@ -0,0 +1,12 @@
- 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