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 8c3c423 commit fd827f2Copy full SHA for fd827f2
switchbot/__init__.py
@@ -74,7 +74,7 @@ def _sendcommand(self, key, retry) -> bool:
74
finally:
75
self._disconnect()
76
if send_success:
77
- return send_success
+ return True
78
if retry < 1:
79
_LOGGER.error("Switchbot communication failed. Stopping trying.", exc_info=True)
80
return False
0 commit comments