From e5d145aed9a2a7c6eedfffed5ac0d5030dd4ff3a Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Tue, 7 Dec 2021 00:07:47 +0100 Subject: [PATCH] Update work automations --- configuration/automations/work.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/configuration/automations/work.yaml b/configuration/automations/work.yaml index b5440c0..be740b2 100644 --- a/configuration/automations/work.yaml +++ b/configuration/automations/work.yaml @@ -2,7 +2,7 @@ alias: '[Work] Daily Warning' trigger: - platform: time - at: '8:30' + at: '9:30' condition: - condition: time weekday: @@ -15,6 +15,9 @@ - service: light.turn_on data: brightness_pct: 100 + entity_id: light.bathroom_color_zha_group_0x0007 + - service: light.turn_on + data: hs_color: - 120 - 100 @@ -56,7 +59,7 @@ alias: '[Work] Daily notification' trigger: - platform: time - at: '8:55' + at: '9:59' condition: - condition: time weekday: @@ -89,7 +92,7 @@ alias: '[Work] Daily notification off' trigger: - platform: time - at: '9:10' + at: '10:10' condition: - condition: time weekday: @@ -106,8 +109,11 @@ - id: work_finished alias: '[Work] Notify when finished work' trigger: - - platform: time - at: '17:00' + - platform: state + entity_id: device_tracker.amdn4684 + for: + hours: 8 + to: home condition: - condition: time weekday: