瀏覽代碼

Reduce the disconnect delay (#119)

J. Nick Koston 2 年之前
父節點
當前提交
01e8bdc45a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      switchbot/devices/device.py

+ 1 - 1
switchbot/devices/device.py

@@ -47,7 +47,7 @@ BLEAK_EXCEPTIONS = (
 # How long to hold the connection
 # to wait for additional commands for
 # disconnecting the device.
-DISCONNECT_DELAY = 49
+DISCONNECT_DELAY = 20
 
 
 class ColorMode(Enum):