get_entities_by_area
Retrieve all entities in a Home Assistant area by name, with optional domain filtering. Returns entity details and counts for each room.
Instructions
Get all entities assigned to a specific Home Assistant area (room).
Area lookup is case-insensitive and matches the area's name as configured in Home Assistant (e.g., "Kitchen", "Living Room"). Entities inherit their area from their parent device when no area is set directly, matching HA's own resolution behavior.
Args: area: Name of the area to filter by (case-insensitive) domain: Optional domain to further filter results (e.g., 'light') lean: If True (default), returns token-efficient entity records
Returns: A dictionary containing: - area: The matched area name (as canonicalized by HA) - count: Number of matching entities - entities: List of entity records with their state and area
Examples: get_entities_by_area(area="Kitchen") - everything in the kitchen get_entities_by_area(area="Living Room", domain="light") - lights only
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | ||
| domain | No | ||
| lean | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |