Search entities
search_entitiesSearch Home Assistant entities by query, area, or domain to discover entity_ids and current states before checking detailed state information.
Instructions
Find Home Assistant entities and their current states.
Use this first to discover entity_ids, then call get_entity_state for details.
Returns entity_id, name, state and area for each match, best matches first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Only this area, by area_id or name (see list_areas) | |
| limit | No | Maximum results | |
| query | Yes | Case-insensitive text matched against entity_id and friendly name, e.g. 'kitchen', 'temperature', 'light.bed'. All words must match. Use an empty string to list everything that matches the filters. | |
| domain | No | Only this domain, e.g. 'light', 'sensor', 'climate', 'switch' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Number of matching entities before applying the limit | |
| entities | Yes | ||
| truncated | Yes | True if more matches exist; narrow the query or filters |