Explorar o código

Reduce the disconnect delay (#119)

J. Nick Koston %!s(int64=2) %!d(string=hai) anos
pai
achega
01e8bdc45a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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):