From 391fa8c3bdfe19ba608a65b65f91d0473a30883b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 6 May 2023 18:05:14 -0500 Subject: [PATCH] Update rest documentation for filter_entity_id as its required (#1770) --- docs/api/rest.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/api/rest.md b/docs/api/rest.md index 88f18b85..f2222b9d 100644 --- a/docs/api/rest.md +++ b/docs/api/rest.md @@ -201,9 +201,12 @@ Returns an array of state changes in the past. Each object contains further deta The `` (`YYYY-MM-DDThh:mm:ssTZD`) is optional and defaults to 1 day before the time of the request. It determines the beginning of the period. +The following parameters are required: + +- `filter_entity_id=` to filter on one or more entities - comma separated. + You can pass the following optional GET parameters: -- `filter_entity_id=` to filter on one or more entities - comma separated. - `end_time=` to choose the end of the period in URL encoded format (defaults to 1 day). - `minimal_response` to only return `last_changed` and `state` for states other than the first and last state (much faster). - `no_attributes` to skip returning attributes from the database (much faster).