1
0
ansible-home-assistant/automations/files/work-finished.yaml
Przemek Grondek 11d3512b2a Housekeeping
use light groups instead of multiple lights
 add prefix to some automations
 rename some files
2021-01-23 19:32:51 +01:00

29 lines
577 B
YAML

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