2020-11-04 00:56:36 +00:00
|
|
|
- id: daily
|
2021-01-23 18:32:51 +00:00
|
|
|
alias: '[Work] Daily notification'
|
2020-11-04 00:56:36 +00:00
|
|
|
trigger:
|
|
|
|
- platform: time
|
2021-06-15 07:32:25 +00:00
|
|
|
at: '8:55'
|
2020-11-16 00:19:53 +00:00
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
2020-11-04 00:56:36 +00:00
|
|
|
action:
|
2020-11-12 02:34:34 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
brightness: 200
|
|
|
|
rgb_color:
|
|
|
|
- 0
|
|
|
|
- 0
|
|
|
|
- 255
|
2021-01-23 18:32:51 +00:00
|
|
|
entity_id: light.computer_lights
|
2020-11-04 00:56:36 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
flash: long
|
2020-11-05 01:05:23 +00:00
|
|
|
brightness: 200
|
2020-11-04 00:56:36 +00:00
|
|
|
rgb_color:
|
|
|
|
- 0
|
|
|
|
- 0
|
|
|
|
- 255
|
2021-01-23 18:32:51 +00:00
|
|
|
entity_id: light.computer_lights
|
2020-11-04 00:56:36 +00:00
|
|
|
mode: single
|
|
|
|
|
|
|
|
- id: daily_off
|
2021-01-23 18:32:51 +00:00
|
|
|
alias: '[Work] Daily notification off'
|
2020-11-04 00:56:36 +00:00
|
|
|
trigger:
|
|
|
|
- platform: time
|
2021-06-15 07:32:25 +00:00
|
|
|
at: '9:10'
|
2020-11-12 02:34:34 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: light.computer_left
|
|
|
|
state: 'on'
|
|
|
|
- condition: state
|
|
|
|
entity_id: light.computer_right
|
|
|
|
state: 'on'
|
2020-11-16 00:19:53 +00:00
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
2020-11-04 00:56:36 +00:00
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
kelvin: 3200
|
2021-01-23 18:32:51 +00:00
|
|
|
entity_id: light.computer_lights
|
2020-11-12 02:34:34 +00:00
|
|
|
- delay: 5
|
|
|
|
- service: light.turn_off
|
2021-01-23 18:32:51 +00:00
|
|
|
entity_id: light.computer_lights
|
2021-06-15 07:32:51 +00:00
|
|
|
mode: single
|
2020-11-16 00:19:53 +00:00
|
|
|
|
2021-06-15 07:32:51 +00:00
|
|
|
- id: work_finished
|
|
|
|
alias: '[Work] Notify when finished work'
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '17:00'
|
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
|
|
|
action:
|
|
|
|
- service: vacuum.start
|
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
- 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
|
2020-11-04 00:56:36 +00:00
|
|
|
mode: single
|
2021-06-15 07:32:51 +00:00
|
|
|
|