J. Nick Koston 2 rokov pred
rodič
commit
55b1cbab3a
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      switchbot/devices/device.py

+ 1 - 0
switchbot/devices/device.py

@@ -208,6 +208,7 @@ class SwitchbotDevice:
             self.name,
             self.name,
             DISCONNECT_DELAY,
             DISCONNECT_DELAY,
         )
         )
+        await self._execute_disconnect()
 
 
     async def _execute_disconnect(self):
     async def _execute_disconnect(self):
         """Execute disconnection."""
         """Execute disconnection."""