Get person location
zones_get_user_locationRetrieve a single person's current coordinates and location attributes from Home Assistant. Use when you need one person's location instead of scanning a whole zone.
Instructions
Get one person entity's current location.
Prefixes person_entity_id with person. if missing, then reads its
state and location attributes.
Use when: you need just one person's coordinates rather than scanning
a zone with zones_list_persons_in_zone.
Returns: dict with entity_id, state, latitude, longitude, gps_accuracy,
source.
Errors: {"error": "<message>", "entity_id": ...} if the person entity
does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| person_entity_id | Yes | Person entity_id, e.g. 'person.alice'; a bare id like 'alice' is prefixed with 'person.' automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||