List persons in zone
zones_list_persons_in_zoneList every person entity currently inside a given Home Assistant zone. Returns entity_id, state, friendly name, and coordinates; empty list if the zone does not exist.
Instructions
List person entities currently inside a given zone.
Reads the zone's own persons attribute (maintained by Home
Assistant's zone component); falls back to matching each person's
state string against the zone only when that attribute is entirely
absent, which also special-cases zone.home (Home Assistant always
reports "home" there regardless of the zone's friendly_name).
Use when: checking who is currently inside a specific zone. Returns: list of dicts (entity_id, state, friendly_name, latitude, longitude) for persons in the zone; empty list if the zone does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_entity_id | Yes | Zone entity_id, e.g. 'zone.home'; a bare id like 'home' is prefixed with 'zone.' automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |