We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 204b183 commit e24bbffCopy full SHA for e24bbff
source/developers/rest_api.markdown
@@ -202,6 +202,12 @@ $ curl -X GET -H "x-ha-access: YOUR_PASSWORD" \
202
#### {% linkable_title GET /api/history/period/<timestamp> %}
203
Returns an array of state changes in the past. Each object contains further details for the entities.
204
205
+The `<timestamp>` is optional and defaults to 1 day before the time of the request. It determines the beginning of the period.
206
+
207
+You can pass the following optional GET parameters:
208
+ - `filter_entity_id=<entity_id>` to filter on a single entity
209
+ - `end_time=<timestamp>` to choose the end of the period (defaults to 1 day)
210
211
```json
212
[
213
0 commit comments