From 511f3d5d3a36a90405ea850411e174998c9e88d5 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 18 Jul 2024 18:12:27 -0400 Subject: [PATCH] Actually notify me about my morning meds when I wake up --- automations.yaml | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/automations.yaml b/automations.yaml index b65ac79..2d23556 100644 --- a/automations.yaml +++ b/automations.yaml @@ -2475,22 +2475,15 @@ - wakeup - manual-wakeup sequence: - - if: - - condition: state - entity_id: input_boolean.tony_morning_meds_taken - state: 'off' - alias: If I haven't already taken my meds - then: - - service: input_datetime.set_datetime - target: - entity_id: input_datetime.tony_morning_meds_notify - data: - datetime: '{% from ''time.jinja'' import set_datetime %} {{ set_datetime(0,1) - }} + - service: input_datetime.set_datetime + target: + entity_id: input_datetime.tony_morning_meds_notify + data: + datetime: '{% from ''time.jinja'' import set_datetime %} {{ set_datetime(0,1) + }} - ' - alias: Set time to start notifying for morning meds - alias: Set morning meds notification time + ' + alias: Set time to start notifying for morning meds - alias: Turn off all meds taken service: input_boolean.turn_off metadata: {}