We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b18494 commit c251501Copy full SHA for c251501
custom_components/robovac/tuyalocalapi.py
@@ -831,7 +831,8 @@ async def _async_handle_message(self):
831
if self._connected:
832
_LOGGER.debug("Incomplete read")
833
elif isinstance(e, ConnectionResetError):
834
- _LOGGER.debug("Connection reset")
+ _LOGGER.debug("Connection reset: {}".format(e))
835
+ await self.async_disconnect()
836
837
else:
838
_LOGGER.debug("Received message from {}: {}".format(self, message))
0 commit comments