From 21df16d6f702ef1147eedff57adaf2ed521040fc Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 7 Sep 2022 16:47:07 -0400 Subject: [PATCH] Using new sensor instead of family group to detect presence state #35 --- automations.yaml | 4 ++-- packages/presence.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/automations.yaml b/automations.yaml index ccb193f..ddd994f 100644 --- a/automations.yaml +++ b/automations.yaml @@ -155,7 +155,7 @@ description: Runs when family arrives at home trigger: - platform: state - entity_id: group.family + entity_id: sensor.family_presence from: not_home to: home - platform: event @@ -171,7 +171,7 @@ description: Runs when the family has left home trigger: - platform: state - entity_id: group.family + entity_id: sensor.family_presence from: home to: not_home - platform: event diff --git a/packages/presence.yaml b/packages/presence.yaml index 3d5fe3f..77f75fa 100644 --- a/packages/presence.yaml +++ b/packages/presence.yaml @@ -282,7 +282,7 @@ script: alias: Family Is Away sequence: - condition: state - entity_id: group.family + entity_id: sensor.family_presence state: not_home - service: light.turn_off target: