Fix another case of homeassistant_alerts delaying shutdown (#116352)

This commit is contained in:
J. Nick Koston
2024-04-28 12:54:53 -05:00
committed by GitHub
parent ab2ea6100c
commit 48d620ce94

View File

@@ -101,6 +101,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
cooldown=COMPONENT_LOADED_COOLDOWN, cooldown=COMPONENT_LOADED_COOLDOWN,
immediate=False, immediate=False,
function=coordinator.async_refresh, function=coordinator.async_refresh,
background=True,
) )
@callback @callback