1
0
Daniel Høyer Iversen 6 жил өмнө
parent
commit
fd827f286f

+ 1 - 1
switchbot/__init__.py

@@ -74,7 +74,7 @@ class Switchbot:
         finally:
         finally:
             self._disconnect()
             self._disconnect()
         if send_success:
         if send_success:
-            return send_success
+            return True
         if retry < 1:
         if retry < 1:
             _LOGGER.error("Switchbot communication failed. Stopping trying.", exc_info=True)
             _LOGGER.error("Switchbot communication failed. Stopping trying.", exc_info=True)
             return False
             return False