From c8cb6f6824ec07e55652d34d52ac60c43a28c6d0 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 15 May 2024 17:32:40 -0400 Subject: [PATCH] Possible fix for #197 --- automations.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/automations.yaml b/automations.yaml index 4cfe14b..c178465 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3147,16 +3147,17 @@ id: wake-computer condition: [] action: - - variables: - trigger: '{{ trigger.id }}' - type: '{{ trigger.split(''-'')[0] }}' - reason: '{{ trigger.split(''-'')[1] }}' - alias: Define variables - alias: Routing choose: - conditions: - - condition: template - value_template: '{{ type == ''wake'' }}' + - condition: trigger + id: + - wake-alarm + - wake-sched + - wake-leave + - wake-sentence + - wake-focus + - wake-computer alias: Wakeup sequence: - delay: