From 1700da0ed3d73f97d73666b3bc9ac53a3fecb88a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 18 Oct 2022 11:23:15 -0500 Subject: [PATCH] Reduce chance of bluetooth devices going unavailable when adapter stops responding (#80545) --- homeassistant/components/bluetooth/const.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/bluetooth/const.py b/homeassistant/components/bluetooth/const.py index 9ec505bd6bf..8b0a8ae149c 100644 --- a/homeassistant/components/bluetooth/const.py +++ b/homeassistant/components/bluetooth/const.py @@ -51,9 +51,9 @@ FALLBACK_MAXIMUM_STALE_ADVERTISEMENT_SECONDS: Final = 60 * 15 # to be # 180s Time when device is removed from stack # - 30s check interval -# - 20s scanner restart time * 2 +# - 30s scanner restart time * 2 # -SCANNER_WATCHDOG_TIMEOUT: Final = 110 +SCANNER_WATCHDOG_TIMEOUT: Final = 90 # How often to check if the scanner has reached # the SCANNER_WATCHDOG_TIMEOUT without seeing anything SCANNER_WATCHDOG_INTERVAL: Final = timedelta(seconds=30)