mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-13 18:14:28 +05:00
fix bugs
This commit is contained in:
@@ -198,14 +198,13 @@ class MegaD:
|
|||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
for x in self.ds2413_ports:
|
for x in self.ds2413_ports:
|
||||||
if x.http_cmd == 'ds2413':
|
self.lg.debug(f'poll ds2413 for %s', x)
|
||||||
self.lg.debug(f'poll ds2413 for %s', x)
|
await self.get_port(
|
||||||
await self.get_port(
|
port=x,
|
||||||
port=x,
|
force_http=True,
|
||||||
force_http=True,
|
http_cmd='list',
|
||||||
http_cmd='list',
|
conv=False
|
||||||
conv=False
|
)
|
||||||
)
|
|
||||||
|
|
||||||
async def poll(self):
|
async def poll(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user