From 0184cd2ce6f09f04bd33900439b6a6b79e8b598b Mon Sep 17 00:00:00 2001 From: pgrondek Date: Mon, 16 Nov 2020 01:19:53 +0100 Subject: [PATCH] Fix daily automations --- automations/files/daily.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/automations/files/daily.yaml b/automations/files/daily.yaml index 38d8e77..c483b64 100644 --- a/automations/files/daily.yaml +++ b/automations/files/daily.yaml @@ -3,7 +3,14 @@ trigger: - platform: time at: '10:55' - condition: [] + condition: + - condition: time + weekday: + - mon + - tue + - wed + - thu + - fri action: - service: light.turn_on data: @@ -40,6 +47,13 @@ - condition: state entity_id: light.computer_right state: 'on' + - condition: time + weekday: + - mon + - tue + - wed + - thu + - fri action: - service: light.turn_on data: @@ -52,4 +66,5 @@ entity_id: - light.computer_left - light.computer_right + mode: single