history_get_state_history
Retrieve the state history of any Home Assistant entity for the past hours. Analyze trends or track changes over time.
Instructions
Get state history for an entity over the last N hours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| entity_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |