Remove async_add_job calls from qwikswitch (#113258)

This commit is contained in:
J. Nick Koston 2024-03-13 18:34:37 -10:00 committed by GitHub
parent cfe14bca8f
commit 4f326df088
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -225,7 +225,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
async_dispatcher_send(hass, qspacket[QS_ID], qspacket) async_dispatcher_send(hass, qspacket[QS_ID], qspacket)
# Update all ha_objects # Update all ha_objects
hass.async_add_job(qsusb.update_from_devices) hass.async_create_task(qsusb.update_from_devices())
@callback @callback
def async_start(_): def async_start(_):