Add automation to mark pc is awake
This commit is contained in:
parent
a11c2a60e4
commit
ab2a381a44
12
automations/files/automations/computer.yaml
Normal file
12
automations/files/automations/computer.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user