Get entities in area
areas_get_area_entitiesRetrieve all entity registry rows for a specific area, including entities linked via devices, to enable bulk editing of labels or categories.
Instructions
Get every entity registered in a given area, directly or via its device.
Reads the entity and device registries over WebSocket, then keeps
entity-registry rows whose own area_id matches, or whose device_id
belongs to a device assigned to the area.
Use when: you need the entity registry rows for one area, e.g. before
bulk-editing labels or categories.
Not for: current state values — use areas_get_area_states, or a
combined view — use snapshot_get_area_snapshot.
Returns: list of entity registry dicts (entity_id, device_id, area_id,
labels, …) belonging to the area.
Limits: an unknown area_id returns an empty list rather than an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area_id | Yes | Area registry ID whose entities to return; obtain it from areas_list_areas. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |