history_get_state_history
Retrieve the state history of any Home Assistant entity over a specified time period, defaulting to the last 24 hours.
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 |