From ade9e03d3c4ea5f0e14c7b0af8083386f666637c Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 26 Sep 2023 19:50:02 +0200 Subject: [PATCH] Reduce repair event debounce cooldown period to 3 seconds (#372) --- custom_components/spook/repairs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/spook/repairs.py b/custom_components/spook/repairs.py index d79a0d5a..06f1edff 100644 --- a/custom_components/spook/repairs.py +++ b/custom_components/spook/repairs.py @@ -133,7 +133,7 @@ async def _async_inspect() -> None: self.inspect_debouncer = Debouncer( self.hass, LOGGER, - cooldown=10, + cooldown=3, immediate=False, function=_async_inspect, )