소스 검색

missing await

J. Nick Koston 2 년 전
부모
커밋
55b1cbab3a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      switchbot/devices/device.py

+ 1 - 0
switchbot/devices/device.py

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