loopj / home-assistant-vantage

Home Assistant integration for Vantage InFusion home automation controllers.
MIT License
9 stars 4 forks source link

Improve error handling #68

Closed loopj closed 1 year ago

loopj commented 1 year ago

Wraps all requests with async_request_call. This will re-raise client exceptions as HomeAssistantError as required by the integration quality scale, and will also put the integration into "reauth required" state if we detect a LoginFailedError or LoginRequiredError.

Fixes #61