Using new sensor instead of family group to detect presence state #35

This commit is contained in:
2022-09-07 16:47:07 -04:00
parent dcb76028c2
commit 21df16d6f7
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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: