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: