1
0

Update work automations

This commit is contained in:
pgrondek 2021-06-15 09:32:25 +02:00
parent 372cfc528d
commit f032ebaa5d
2 changed files with 12 additions and 24 deletions

View File

@ -2,7 +2,7 @@
alias: '[Work] Daily notification'
trigger:
- platform: time
at: '10:40'
at: '8:55'
condition:
- condition: time
weekday:
@ -35,7 +35,7 @@
alias: '[Work] Daily notification off'
trigger:
- platform: time
at: '11:00'
at: '9:10'
condition:
- condition: state
entity_id: light.computer_left

View File

@ -1,11 +1,16 @@
- id: work_finished
alias: '[Work] Notify when finished work'
trigger:
- platform: state
entity_id: binary_sensor.luxoft
to: 'on'
for:
hours: 8
- platform: time
at: '17:00'
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: vacuum.start
entity_id: vacuum.robot_vacuum
@ -27,20 +32,3 @@
- 83
entity_id: light.computer_lights
mode: single
- 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