get_entity
Retrieve the state of a Home Assistant entity with optional field filtering to access specific smart home device data.
Instructions
Get the state of a Home Assistant entity with optional field filtering.
Args: entity_id: Entity ID (e.g. 'light.living_room') fields: Fields to include (e.g. ['state', 'attr.brightness']) detailed: If True, returns all fields unfiltered
Examples: get_entity("light.living_room", fields=["state", "attr.brightness"])
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ||
| fields | No | ||
| detailed | No |