mirror of
https://github.com/andvikt/mega_hacs.git
synced 2026-11-02 21:38:44 +05:00
small fix
This commit is contained in:
1 parent
4e2d659c44
commit
18d0aee391
1 file changed
+2
-1
@@ -177,7 +177,8 @@ class MegaD:
|
||||
qos=2,
|
||||
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):
|
||||
for x in range(37):
|
||||
|
||||
Reference in new issue
Block a user