diff --git a/custom_components/uk_bin_collection/__init__.py b/custom_components/uk_bin_collection/__init__.py index 24af918d4e..9acc640bf2 100644 --- a/custom_components/uk_bin_collection/__init__.py +++ b/custom_components/uk_bin_collection/__init__.py @@ -34,7 +34,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: async def _async_finish_startup(_): await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) - async_at_started(hass, _async_finish_startup) + hass.async_create_task(_async_finish_startup(None)) _LOGGER.info( LOG_PREFIX + "Successfully set up UK Bin Collection Data for council: %s",