From 109c7d9730ca482e3648c857dd333149483d3314 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 28 Sep 2022 13:36:40 -0400 Subject: [PATCH] Taking another crack at proper Life360-based presence #35 --- automations.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/automations.yaml b/automations.yaml index 38b0dbc..1d754eb 100644 --- a/automations.yaml +++ b/automations.yaml @@ -174,6 +174,9 @@ - condition: state entity_id: group.family state: unknown + - condition: state + entity_id: binary_sensor.internet + state: 'off' action: - service: script.family_is_home data: {} @@ -205,6 +208,9 @@ - condition: state entity_id: group.family state: unknown + - condition: state + entity_id: binary_sensor.internet + state: 'off' action: - service: script.family_is_away data: {}