Skip to content

Commit

Permalink
feat: Use aiohttp instead of waiting for blocking calls (#227)
Browse files Browse the repository at this point in the history
* Use native async call instead of converting blocking calls

* remove nullable declarations

* fixs

* Fix star expression

* fix gather again

* remove unused private function

* Fix naming conflict

* Add the deleted function back. Disable the warning instead.

* remove trailing space

* handle wrong mime type from cloud

* Fix request header

* fix missing await
  • Loading branch information
chemwolf6922 authored Dec 20, 2024
1 parent a879ae2 commit aacb794
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 111 deletions.
3 changes: 2 additions & 1 deletion custom_components/xiaomi_home/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"paho-mqtt<=2.0.0",
"numpy",
"cryptography",
"psutil"
"psutil",
"aiohttp[speedups]"
],
"version": "v0.1.2",
"zeroconf": [
Expand Down
Loading

0 comments on commit aacb794

Please sign in to comment.