Browse Source

fix: lower disconnect delay to 8.5 seconds (#135)

J. Nick Koston 1 năm trước cách đây
mục cha
commit
5aad199af8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      switchbot/devices/device.py

+ 1 - 1
switchbot/devices/device.py

@@ -42,7 +42,7 @@ KEY_PASSWORD_PREFIX = "571"
 # How long to hold the connection
 # to wait for additional commands for
 # disconnecting the device.
-DISCONNECT_DELAY = 12.5
+DISCONNECT_DELAY = 8.5
 
 
 class ColorMode(Enum):