From edddd6edfbc418a39c7f671e1c7b9963e9430301 Mon Sep 17 00:00:00 2001 From: puddly <32534428+puddly@users.noreply.github.com> Date: Thu, 16 Jan 2025 04:08:38 -0500 Subject: [PATCH] Reduce USB rescan cooldown from 1 minute to 10 seconds (#135712) * Reduce USB rescan cooldown from 1 minute to 1 second * Increase cooldown to 10s as a middle ground --- homeassistant/components/usb/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/usb/__init__.py b/homeassistant/components/usb/__init__.py index c502c81dae6..7eaac7d71e8 100644 --- a/homeassistant/components/usb/__init__.py +++ b/homeassistant/components/usb/__init__.py @@ -46,7 +46,7 @@ if TYPE_CHECKING: _LOGGER = logging.getLogger(__name__) -REQUEST_SCAN_COOLDOWN = 60 # 1 minute cooldown +REQUEST_SCAN_COOLDOWN = 10 # 10 second cooldown __all__ = [ "async_is_plugged_in",