Presence Question

Hi All,

I have a working config with geofency and presence in HA. Only problem is that my partner to always have Mobile network on. So when he leaves there is no action to HA. His entity_id stay “home”

Now I created 2 input_booleans so we can manual switch a binary_sensor to “home” or “not_home”
device_class: presence

Add those 2 binary_sensors into the group_family. When he arrives without sending the request to HA so his geofency_presence will change he can enable himself manual.

Sounds OK to me, then group_family will switch from “Away” to “home” because someone is home.

Only problem this is not working. The binary_sensor state “on” and “off” even when device_class: presence. When turn on group_family still keep saying “Away”

Someone other solution for this?

Here the scripts:

input_boolean:

kay_home_manual:
  name: Kay Home Mannual
  initial: off

binary_sensor:

platform: template
sensors:
  manual_kay_home:
    friendly_name: "Manual Kay Home Sensor"
    value_template: "{{ states.input_boolean.kay_home_manual.state == 'on' }}"
    entity_id: input_boolean.kay_home_manual

customize:

binary_sensor.manual_kay_home:
  device_class: presence

group_family:

group_family:
  name: Group Family
  entities:
    - device_tracker.geofency_peter
    - device_tracker.geofency_kay
    - binary_sensor.manual_kay_home

I think your issue is related to this feature request

I think I also saw a workaround somewhere in this thread.

thank you… that was the aswer on the question… hehe