Start the debouncer task eagerly (#111569)

This commit is contained in:
J. Nick Koston 2024-02-26 16:29:46 -10:00 committed by GitHub
parent 1e3af1b48f
commit fb4e8a4f3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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