Thanks to visit codestin.com
Credit goes to github.com

Skip to content

REST API request for specified time status failed #2665

@FLSZ

Description

@FLSZ

REST API GET /api/history/period/

  1. As shown in the figure, even if I set, I cannot successfully limit the start time
  2. Setting end_time can effectively limit the end time, but when I specify the day before yesterday as end_time, I cannot retrieve the data from the day before yesterday

I think there may be other parameters that need to be set, as it seems to force the search to only search for data from now until 24 hours ago, but the relevant documentation does not provide it.
https://developers.home-assistant.io/docs/api/rest

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions