mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-12 01:24:29 +05:00
add proxy support
This commit is contained in:
@@ -76,6 +76,7 @@ class MegaD:
|
||||
update_all=True,
|
||||
poll_outs=False,
|
||||
fake_response=True,
|
||||
force_d=None,
|
||||
**kwargs,
|
||||
):
|
||||
"""Initialize."""
|
||||
@@ -130,6 +131,9 @@ class MegaD:
|
||||
else:
|
||||
self.mqtt_id = mqtt_id
|
||||
|
||||
if force_d is not None:
|
||||
self.customize[CONF_FORCE_D] = force_d
|
||||
|
||||
async def start(self):
|
||||
self.loop = asyncio.get_event_loop()
|
||||
if self.mqtt is not None:
|
||||
|
||||
Reference in New Issue
Block a user