Person without device tracker

how to modify the state of a person entity without associating a device_tracker with it? for example, a child who doesn’t have a phone or other connected object. it’s possible to do this via the advanced interface by editing its state, but it seems impossible via a service/action. does anyone have a solution?

The States tool is just for testing automations, any changes made are not stable and they do not necessarily reflect reality.

Create a manual device_tracker entity, assign it to the person, and use the device_tracker.see action.

2 Likes

I don’t know if this helps, but if all you want to know is if any person is in a room, use a cheap RTSP camera and Frigate.

Not really sure if you want to manually set a person location, or find a magical trick to detect that person’s location

If the former, you can create a device tracker through the HA REST API.
See, e.g.

finally it seems to be the right way, with a device_tracker created in the know_device.yaml, associating this device_tracker to a person, I can then use the device_tracker.see service.