Search devices
search_search_devicesFind Home Assistant devices by fuzzy-matching a partial name, alias, manufacturer, or model. Returns top-ranked matches with scores when the exact device ID is unknown.
Instructions
Fuzzy-rank devices by name, name_by_user, manufacturer and model.
Scores every device from the device registry against query, keeps
only scores above 0, and returns the top limit matches sorted
descending.
Use when: you don't know a device's exact id and want a ranked guess
from a name fragment.
Not for: an exact, unranked device list — use devices_list_devices,
areas_list_devices or devices_list_devices_in_area.
Returns: list of dicts (id, name, name_by_user, manufacturer, model,
area_id, score) up to limit entries.
Limits: devices that score exactly 0 are dropped entirely; a WS
failure yields an empty list rather than an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of ranked results to return; defaults to 20. | |
| query | Yes | Search text to fuzzy-match against a device's name, name_by_user, manufacturer and model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |