From 8411488ab37894598ad2556bdbe6da84ab6ff2a1 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Tue, 23 Jul 2024 21:52:49 -0400 Subject: [PATCH] Make E's actual wakeup time actually update properly --- packages/emmalynn.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/emmalynn.yaml b/packages/emmalynn.yaml index eb1ecdc..8170968 100644 --- a/packages/emmalynn.yaml +++ b/packages/emmalynn.yaml @@ -987,8 +987,9 @@ script: type: normal message: Emma has awoken, so it is time to make your way upstairs now - if: - - condition: template - value_template: "{{ is_state('binary_sensor.morning','on') or is_state('binary_sensor.midday','on') }}" + - condition: time + before: "18:00:00" + after: "07:00:00" then: - service: input_datetime.set_datetime target: