1
0
ansible-home-assistant/automations/files/finished-work.yaml

34 lines
660 B
YAML
Raw Normal View History

- id: work_finished
alias: Notify when finished work
description: ''
trigger:
- platform: state
entity_id: binary_sensor.luxoft
to: 'on'
for:
hours: 8
condition: []
action:
- service: light.turn_on
data:
brightness: 200
rgb_color:
- 0
- 255
- 0
entity_id:
- light.computer_left
- light.computer_right
- service: light.turn_on
data:
flash: long
brightness: 200
rgb_color:
- 0
- 0
- 255
entity_id:
- light.computer_left
- light.computer_right
mode: single