ha_history_list_areas
List the rooms and locations defined in Home Assistant, optionally search by name, to obtain exact area names for querying device history.
Instructions
Lists the areas (rooms and locations) defined in Home. Use when the user wants to explore areas or when you need the exact area name for ha_history_list_devices. Narrow by name with search. Returns area names to reuse with area="" in ha_history_list_devices, which also surfaces ready entity_ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Optional search term matched against area names (case-insensitive substring match). E.g. "kitchen", "outdoor", "bedroom". Leave empty to list all areas. | |
| max_results | No | Maximum number of results to return. Default: all areas. |