Skip to content

Fix end_timestamp format - url quoting needed#104

Merged
GrandMoff100 merged 1 commit into
HomeAssistant-API:devfrom
kizill:fix_end_timestamp_format
Jun 15, 2022
Merged

Fix end_timestamp format - url quoting needed#104
GrandMoff100 merged 1 commit into
HomeAssistant-API:devfrom
kizill:fix_end_timestamp_format

Conversation

@kizill
Copy link
Copy Markdown
Contributor

@kizill kizill commented Jun 15, 2022

Fix for

homeassistant_api.errors.RequestError: Bad Request: b'{"message": "Invalid end_time"}'

From official docs:

end_time= to choose the end of the period in URL encoded format (defaults to 1 day).

@kizill kizill requested a review from GrandMoff100 as a code owner June 15, 2022 18:48
@GrandMoff100 GrandMoff100 merged commit a993e79 into HomeAssistant-API:dev Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants