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