get_entity
Retrieve the state and attributes of a Home Assistant entity, with options to filter specific fields or include all details. Simplify smart home monitoring and automation tasks by querying entity data directly.
Instructions
Get the state of a Home Assistant entity with optional field filtering
Args: entity_id: The entity ID to get (e.g. 'light.living_room') fields: Optional list of fields to include (e.g. ['state', 'attr.brightness']) detailed: If True, returns all entity fields without filtering
Examples: entity_id="light.living_room" - basic state check entity_id="light.living_room", fields=["state", "attr.brightness"] - specific fields entity_id="light.living_room", detailed=True - all details
Input Schema
Name | Required | Description | Default |
---|---|---|---|
detailed | No | ||
entity_id | Yes | ||
fields | No |