Преглед изворни кода

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