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:
@@ -75,6 +75,7 @@ class MegaD:
|
||||
inverted: typing.List[int] = None,
|
||||
update_all=True,
|
||||
poll_outs=False,
|
||||
fake_response=True,
|
||||
**kwargs,
|
||||
):
|
||||
"""Initialize."""
|
||||
@@ -87,6 +88,7 @@ class MegaD:
|
||||
self.poll_outs = poll_outs
|
||||
self.update_all = update_all if update_all is not None else True
|
||||
self.nports = nports
|
||||
self.fake_response = fake_response
|
||||
self.mqtt_inputs = mqtt_inputs
|
||||
self.loop: asyncio.AbstractEventLoop = None
|
||||
self.hass = hass
|
||||
|
||||
Reference in New Issue
Block a user