J. Nick Koston %!s(int64=2) %!d(string=hai) anos
pai
achega
9cd8a70705
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 # How long to hold the connection
 # to wait for additional commands for
 # to wait for additional commands for
 # disconnecting the device.
 # disconnecting the device.
-DISCONNECT_DELAY = 90
+DISCONNECT_DELAY = 59
 
 
 
 
 def _sb_uuid(comms_type: str = "service") -> UUID | str:
 def _sb_uuid(comms_type: str = "service") -> UUID | str: