search_entities_tool
Find and retrieve specific entities in Home Assistant by matching IDs, names, and attributes. Use query strings to filter results and set limits for precise searches.
Instructions
Search for entities matching a query string
Args: query: The search query to match against entity IDs, names, and attributes. (Note: Does not support wildcards. To get all entities, leave this blank or use list_entities tool) limit: Maximum number of results to return (default: 20)
Returns: A dictionary containing search results and metadata: - count: Total number of matching entities found - results: List of matching entities with essential information - domains: Map of domains with counts (e.g. {"light": 3, "sensor": 2})
Examples: query="temperature" - find temperature entities query="living room", limit=10 - find living room entities query="", limit=500 - list all entity types
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | ||
query | Yes |