From 4f326df088d02f8c1a30126b0ec90897f10afebe Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 13 Mar 2024 18:34:37 -1000 Subject: [PATCH] Remove async_add_job calls from qwikswitch (#113258) --- homeassistant/components/qwikswitch/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/qwikswitch/__init__.py b/homeassistant/components/qwikswitch/__init__.py index 8c753da7cc2..eea110a02d7 100644 --- a/homeassistant/components/qwikswitch/__init__.py +++ b/homeassistant/components/qwikswitch/__init__.py @@ -225,7 +225,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: async_dispatcher_send(hass, qspacket[QS_ID], qspacket) # Update all ha_objects - hass.async_add_job(qsusb.update_from_devices) + hass.async_create_task(qsusb.update_from_devices()) @callback def async_start(_):