From 89c24b2f75118e257cad5f67e1c1013bc65428c8 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 11 Mar 2024 08:58:45 -1000 Subject: [PATCH] Migrate dispatcher to create tasks eagerly (#112845) There were quite a few of these that never had to suspend. --- homeassistant/helpers/dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/helpers/dispatcher.py b/homeassistant/helpers/dispatcher.py index cb812ef071b..20781eb8084 100644 --- a/homeassistant/helpers/dispatcher.py +++ b/homeassistant/helpers/dispatcher.py @@ -225,4 +225,4 @@ def async_dispatcher_send( if job is None: job = _generate_job(signal, target) target_list[target] = job - hass.async_run_hass_job(job, *args) + hass.async_run_hass_job(job, *args, eager_start=True)