From fb4e8a4f3bc0e46add52187c733de09ef41f7840 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 26 Feb 2024 16:29:46 -1000 Subject: [PATCH] Start the debouncer task eagerly (#111569) --- homeassistant/helpers/debounce.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/helpers/debounce.py b/homeassistant/helpers/debounce.py index ef98ea0225f..298d20485a0 100644 --- a/homeassistant/helpers/debounce.py +++ b/homeassistant/helpers/debounce.py @@ -161,6 +161,7 @@ class Debouncer(Generic[_R_co]): self.hass.async_create_task( self._handle_timer_finish(), f"debouncer {self._job} finish cooldown={self.cooldown}, immediate={self.immediate}", + eager_start=True, ) @callback