1
0
ansible-home-assistant/configuration/automations/computer-lights.yaml

14 lines
310 B
YAML
Raw Normal View History

2020-11-08 22:55:19 +00:00
- id: computer_off
2021-01-07 00:48:14 +00:00
alias: '[Computer Cave] Turning computer off automation'
2020-11-08 22:55:19 +00:00
description: ''
trigger:
- platform: state
2022-05-05 22:50:00 +00:00
entity_id: binary_sensor.hulk_ping
2020-11-08 22:55:19 +00:00
to: 'off'
for:
minutes: 5
action:
- service: light.turn_off
entity_id:
2022-04-19 22:15:03 +00:00
- light.office
2020-11-08 22:55:19 +00:00
mode: single