Resolving the disconnect message.

pull/250/head
Robert Brisita 9 months ago
parent 625f02c9ce
commit 5ba23745c5

@ -355,7 +355,7 @@ class Device:
else: else:
while True: while True:
try: try:
async with websockets.connect(WS_URL) as websocket: async with websockets.connect(WS_URL, ping_timeout=None) as websocket:
await exec_ws_communication(websocket) await exec_ws_communication(websocket)
except: except:
logger.debug(traceback.format_exc()) logger.debug(traceback.format_exc())

Loading…
Cancel
Save