From 9bddba66b5785182509df8e470ce1f9443fea223 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Tue, 7 Mar 2023 16:31:16 -0500 Subject: [PATCH] Make sure there actually was a tornado alarm before running cleanup --- automations.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/automations.yaml b/automations.yaml index fc438f6..91aa851 100644 --- a/automations.yaml +++ b/automations.yaml @@ -458,6 +458,9 @@ - condition: state entity_id: input_boolean.vacation_mode state: 'off' + - condition: state + entity_id: input_boolean.tornado_alarm + state: 'on' action: - service: script.text_notify data: