Hi
Now we have the new Template Entity feature, can we expand it to allow a template to add to a person?
e.g. I wear a fitbit and it’s a lot faster at detecting my home/away presence (via ESPresence) rather than waiting for phone GPS and HA update to catch up.
It would be great to add this template then add it to my Person details in /config/person.
{{ (states('sensor.my_fitbit') != 'not_home')
and (states('sensor.my_fitbit') != 'unavailable') }}
FWIW, the end goal of your request can already be accomplished through another method. That method is to use an automation that calls the device_tracker.see service. Calling the service with an unknown dev_id will create a new device_tracker entity that can be added to your person.
I don’t know what the Fitbit delivers, but most entities can be added to a person entity.
As I know the person entity updates with the most recent update of any of the entities.