ha_history_list_devices
List Home Assistant devices by area or search term to retrieve analytics-ready entity IDs for direct use in reports and analysis.
Instructions
Lists devices in Home, filtered by area or search. Use area for room-based discovery and search for device or appliance lookup. Returns matched devices together with analytics-ready entity_ids on each device. Use the returned entity_ids directly with the analytics tools. Call ha_history_list_device_entities only when you need deeper per-device inspection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Filter by area name (case-insensitive). Use the area name from ha_history_list_areas. Leave empty to list all devices across all areas. | |
| search | No | Optional search term matched against device names (case-insensitive substring match). E.g. "charger", "climate", "motion". Returns devices whose name contains the term. | |
| max_results | No | Maximum number of results to return. Default: unlimited when search or area is provided. | |
| include_disabled | No | When true, includes disabled devices. Default: false. |