Skip to content

Commit 462d4e4

Browse files
fix: mqtt reconnections
1 parent f850cd1 commit 462d4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roborock/cloud_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def sync_connect(self) -> bool:
124124
if self._mqtt_port is None or self._mqtt_host is None:
125125
raise RoborockException("Mqtt information was not entered. Cannot connect.")
126126
_LOGGER.info("Connecting to mqtt")
127-
super().connect_async(host=self._mqtt_host, port=self._mqtt_port, keepalive=KEEPALIVE)
127+
super().connect(host=self._mqtt_host, port=self._mqtt_port, keepalive=KEEPALIVE)
128128
return True
129129
return False
130130

0 commit comments

Comments
 (0)