Skip to content

Handles InvalidURL and ClientConnectionError exceptions#72

Merged
rytilahti merged 1 commit into
rytilahti:masterfrom
shenxn:exception
Apr 26, 2020
Merged

Handles InvalidURL and ClientConnectionError exceptions#72
rytilahti merged 1 commit into
rytilahti:masterfrom
shenxn:exception

Conversation

@shenxn
Copy link
Copy Markdown
Contributor

@shenxn shenxn commented Apr 26, 2020

I'm working on adding config flow to the home assistant integration (PR #34714) and the aiohttp exceptions should be hide from home assistant. The aiohttp InvalidURL and ClientConnectionError exceptions are thrown when an invalid endpoint is given.

Copy link
Copy Markdown
Owner

@rytilahti rytilahti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this! A couple of minor changes are needed before merging.

Comment thread songpal/device.py Outdated
Comment thread songpal/device.py Outdated
Comment thread songpal/device.py Outdated
@rytilahti rytilahti merged commit bd89bd8 into rytilahti:master Apr 26, 2020
@rytilahti
Copy link
Copy Markdown
Owner

I released 0.12, feel free to bump the homeassistant requirement for your config flow PR!

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