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

Bug fix: self.transport shall not be None! #368

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

Lurker00
Copy link

Another "cherry pick" from #363

Co-authored-by: Bander <[email protected]>
@xZetsubou xZetsubou merged commit 618139f into xZetsubou:master Oct 17, 2024
2 checks passed
@Lurker00 Lurker00 deleted the is_connected-fix branch October 18, 2024 07:26
Lurker00 added a commit to Lurker00/hass-localtuya that referenced this pull request Oct 18, 2024
xZetsubou pushed a commit that referenced this pull request Nov 4, 2024
* Bug fix: self.transport shall not be None!

* Make TuyaProtocol.close waiting for activity stopped

* TuyaDevice.close() closes its sub-devices, if any.

* Different way to close devices on unload.

* Close devices on HA shutdown

* Fix: async coroutine shall be awaited

* Similar to #368

* Proposals by xZetsubou
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