Explorar el Código

Reduce the disconnect delay (#119)

J. Nick Koston hace 2 años
padre
commit
01e8bdc45a
Se han modificado 1 ficheros con 1 adiciones y 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):