Skip to content
This repository was archived by the owner on Oct 7, 2021. It is now read-only.

Manage exception in get_access_token#30

Merged
PaulAnnekov merged 4 commits intoPaulAnnekov:masterfrom
ollo69:raise-startup-error
Apr 26, 2020
Merged

Manage exception in get_access_token#30
PaulAnnekov merged 4 commits intoPaulAnnekov:masterfrom
ollo69:raise-startup-error

Conversation

@ollo69
Copy link
Copy Markdown
Contributor

@ollo69 ollo69 commented Apr 26, 2020

Hi,

this PR is to complete this Home Assistant PR.
Basically Tuya API will raise a new exception (TuyaNETException) if connection fails at startup.
This will be used in HA to retry component creation.

Comment thread tuyaha/tuyaapi.py
Comment thread tuyaha/tuyaapi.py Outdated
@PaulAnnekov
Copy link
Copy Markdown
Owner

Thanks for PR ;). Fix issues and I will merge it.

@PaulAnnekov PaulAnnekov merged commit a0b1bdf into PaulAnnekov:master Apr 26, 2020
@PaulAnnekov
Copy link
Copy Markdown
Owner

@ollo69 thanks, merged 👍 .

@ollo69
Copy link
Copy Markdown
Contributor Author

ollo69 commented Apr 26, 2020

Thanks!!!

@ollo69 ollo69 deleted the raise-startup-error branch April 26, 2020 20:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants