Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust API client to not silently accept API problems #21

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

ludeeus
Copy link
Contributor

@ludeeus ludeeus commented Mar 21, 2024

  • No longer silently accept issues by returning None from the API client.
  • Removed post (non-get) handler in the API client, as that was not used.
  • Add an instance check in coordinator to validate the data type returned.

These changes will allow the integration to retry automatically if there are issues during setup.

Fixes #20

@BobTheShoplifter BobTheShoplifter merged commit cc9b5a3 into BobTheShoplifter:main Mar 21, 2024
2 checks passed
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.

Etter HA 2024.2.0 må jeg manuelt reloade Posten er etter restart av HA
2 participants