1
0
ansible-home-assistant/configuration/automations/office-computer-lights.yaml
2024-04-22 19:13:00 +02:00

14 lines
310 B
YAML

- id: computer_off
alias: '[Computer Cave] Turning computer off automation'
description: ''
trigger:
- platform: state
entity_id: binary_sensor.hulk_ping
to: 'off'
for:
minutes: 5
action:
- service: light.turn_off
entity_id:
- light.office
mode: single