mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-12 01:24:29 +05:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18d0aee391 |
@@ -177,7 +177,8 @@ class MegaD:
|
|||||||
qos=2,
|
qos=2,
|
||||||
retain=False,
|
retain=False,
|
||||||
)
|
)
|
||||||
await asyncio.wait_for(self.cnd.wait_for(lambda: self.last_port == port), timeout=15)
|
await asyncio.wait_for(self.cnd.wait(), timeout=15)
|
||||||
|
await asyncio.sleep(0.05)
|
||||||
|
|
||||||
async def get_all_ports(self):
|
async def get_all_ports(self):
|
||||||
for x in range(37):
|
for x in range(37):
|
||||||
|
|||||||
Reference in New Issue
Block a user