diff --git a/configuration/automations/work-daily.yaml b/configuration/automations/work-daily.yaml index c91981c..36f10f7 100644 --- a/configuration/automations/work-daily.yaml +++ b/configuration/automations/work-daily.yaml @@ -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 diff --git a/configuration/automations/work-finished.yaml b/configuration/automations/work-finished.yaml index 3960650..b54cd7f 100644 --- a/configuration/automations/work-finished.yaml +++ b/configuration/automations/work-finished.yaml @@ -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 \ No newline at end of file