From aaa5bb9b911ccc2e237787df60ee74685fba082a Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 30 Aug 2023 15:49:00 -0400 Subject: [PATCH] Forgot about what happens when you reload template entities... #108 --- automations.yaml | 2 ++ packages/presence.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/automations.yaml b/automations.yaml index b5bb76f..c7c6bbb 100644 --- a/automations.yaml +++ b/automations.yaml @@ -211,6 +211,7 @@ - platform: state entity_id: - binary_sensor.parents_home + not_from: unavailable to: 'on' condition: - condition: not @@ -238,6 +239,7 @@ - platform: state entity_id: - binary_sensor.parents_home + not_from: unavailable to: 'off' condition: - condition: state diff --git a/packages/presence.yaml b/packages/presence.yaml index 3f779c6..eb52ffa 100644 --- a/packages/presence.yaml +++ b/packages/presence.yaml @@ -641,6 +641,7 @@ automation: id: leave-radius - platform: state entity_id: binary_sensor.parents_home + not_from: unavailable to: 'on' id: arrive-home condition: