mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Remove async_add_job calls from qwikswitch (#113258)
This commit is contained in:
parent
cfe14bca8f
commit
4f326df088
@ -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(_):
|
||||
|
Loading…
x
Reference in New Issue
Block a user