Is it possible to connect a template sensor to a person for presence detection?

Hi,

I created a template sensor from the wifi connection status on my phone. Now I am searching for an easy way to add this sensor to my person device tracker.

I have searched, but couldn find it. Any help?

  - platform: template
    sensors:
      rob_pixel_6_home:
        value_template: >-
          {% if states('sensor.pixel_6_wifi_connection') == "ZiggoC78C914" %}
            home
          {% else %}
            not_home
          {% endif %}
        friendly_name: 'Rob Pixel 6 Home (SSID = ZiggoC78C914)'    

No, because sensor isn’t a device_tracker

But you can create a device tracker and assign that. I use an MQTT one, but others use manual entries in known_devices.yaml and the device_tracker.see action.

I thought that known_devices.yaml will be discontinued in the future?
I don’t have experience in MQTT.

Any other options?

Yes, that’s been the case for a few years now.

No, but MQTT isn’t hard.

I will take a deep dive in MQTT. Thanks