diff --git a/automations/files/automations/computer.yaml b/automations/files/automations/computer.yaml new file mode 100644 index 0000000..8fa7fbe --- /dev/null +++ b/automations/files/automations/computer.yaml @@ -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