Get entity state
entities_get_entityGet the current state and attributes of one Home Assistant entity to inspect its value before or after an action. Use for single-entity checks.
Instructions
Get the full state and attributes of a single entity.
Calls ha.get_state(entity_id), a single HTTP GET to
/api/states/<entity_id>; the response includes state, attributes,
last_changed and last_updated as reported by Home Assistant.
Use when: inspecting one entity's current value and attributes before or
after an action.
Not for: many entities at once — use entities_list_entities or
snapshot_get_snapshot.
Returns: dict with entity_id, state, attributes, last_changed,
last_updated, context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Full entity ID to read, e.g. 'light.kitchen'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||