ha_history_list_device_entities
Lists sensors and controls on a specific Home Assistant device, returning entity_ids with metric kind and analytics capability. Use for deeper per-device inspection when the device list lacks needed IDs.
Instructions
Lists entities (sensors and controls) on a specific device in Home. Use when ha_history_list_devices did not already surface the needed entity_ids or when you need a deeper per-device inspection. Returns entity_ids with their metric kind and analytics capability. Use measurement sensors with ha_history_get_sensor_stats and cumulative counters with ha_history_get_consumption.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device name (case-insensitive). Use the device name from ha_history_list_devices. Partial name match is supported, e.g. "car charging" matches "Car Charging Plug". | |
| max_results | No | Maximum number of results to return. Default: 20. | |
| device_class | No | Optional metric-type filter, e.g. "power". Leave empty to show all analytics-capable entities on the device. | |
| include_diagnostics | No | When true, includes diagnostic and config entities. Default: false. |