J. Nick Koston преди 2 години
родител
ревизия
9cd8a70705
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      switchbot/devices/device.py

+ 1 - 1
switchbot/devices/device.py

@@ -38,7 +38,7 @@ BLEAK_EXCEPTIONS = (AttributeError, BleakError, asyncio.exceptions.TimeoutError)
 # How long to hold the connection
 # to wait for additional commands for
 # disconnecting the device.
-DISCONNECT_DELAY = 90
+DISCONNECT_DELAY = 59
 
 
 def _sb_uuid(comms_type: str = "service") -> UUID | str: