1
0
Эх сурвалжийг харах

Reduce the disconnect delay (#119)

J. Nick Koston 2 жил өмнө
parent
commit
01e8bdc45a

+ 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):