2020-11-12 02:34:34 +00:00
|
|
|
- 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
|
2020-11-21 03:28:38 +00:00
|
|
|
- 200
|
|
|
|
- 83
|
2020-11-12 02:34:34 +00:00
|
|
|
entity_id:
|
|
|
|
- light.computer_left
|
|
|
|
- light.computer_right
|
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
flash: long
|
|
|
|
brightness: 200
|
|
|
|
rgb_color:
|
|
|
|
- 0
|
2020-11-21 03:28:38 +00:00
|
|
|
- 200
|
|
|
|
- 83
|
2020-11-12 02:34:34 +00:00
|
|
|
entity_id:
|
|
|
|
- light.computer_left
|
|
|
|
- light.computer_right
|
|
|
|
mode: single
|