2020-11-12 02:34:34 +00:00
|
|
|
- id: work_finished
|
2021-01-23 18:32:51 +00:00
|
|
|
alias: '[Work] Notify when finished work'
|
2020-11-12 02:34:34 +00:00
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.luxoft
|
|
|
|
to: 'on'
|
|
|
|
for:
|
|
|
|
hours: 8
|
|
|
|
action:
|
2021-02-15 22:09:43 +00:00
|
|
|
- service: vacuum.start
|
|
|
|
entity_id: vacuum.robot_vacuum
|
2020-11-12 02:34:34 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
brightness: 200
|
|
|
|
rgb_color:
|
|
|
|
- 0
|
2020-11-21 03:28:38 +00:00
|
|
|
- 200
|
|
|
|
- 83
|
2021-01-23 18:32:51 +00:00
|
|
|
entity_id: light.computer_lights
|
2020-11-12 02:34:34 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
flash: long
|
|
|
|
brightness: 200
|
|
|
|
rgb_color:
|
|
|
|
- 0
|
2020-11-21 03:28:38 +00:00
|
|
|
- 200
|
|
|
|
- 83
|
2021-01-23 18:32:51 +00:00
|
|
|
entity_id: light.computer_lights
|
2020-11-12 02:34:34 +00:00
|
|
|
mode: single
|
2021-02-15 22:25:38 +00:00
|
|
|
|
|
|
|
- id: work_start
|
|
|
|
alias: '[Work] Turn on laptop on deadline start'
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '10:55'
|
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
|
|
|
action:
|
|
|
|
- service: switch.turn_on
|
|
|
|
entity_id: switch.luxoft
|