@@ -49,7 +49,7 @@ class TuyaDiscovery(asyncio.DatagramProtocol):
|
|||||||
lambda: self, local_addr=("0.0.0.0", 6667)
|
lambda: self, local_addr=("0.0.0.0", 6667)
|
||||||
)
|
)
|
||||||
|
|
||||||
self.listeners = await asyncio.gather(listener, encrypted_listener)
|
self._listeners = await asyncio.gather(listener, encrypted_listener)
|
||||||
_LOGGER.debug("Listening to broadcasts on UDP port 6666 and 6667")
|
_LOGGER.debug("Listening to broadcasts on UDP port 6666 and 6667")
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
|
Reference in New Issue
Block a user