diff --git a/homeassistant/config_entries.py b/homeassistant/config_entries.py index 90531a8efaaf85..8937eb32377456 100644 --- a/homeassistant/config_entries.py +++ b/homeassistant/config_entries.py @@ -1995,7 +1995,7 @@ async def _async_forward_entry_setup( with async_pause_setup(self.hass, SetupPhases.WAIT_IMPORT_PLATFORMS): await integration.async_get_platform(domain) - integration = await loader.async_get_integration(self.hass, domain) + integration = loader.async_get_loaded_integration(self.hass, domain) await entry.async_setup(self.hass, integration=integration) return True @@ -2023,7 +2023,7 @@ async def async_forward_entry_unload( if domain not in self.hass.config.components: return True - integration = await loader.async_get_integration(self.hass, domain) + integration = loader.async_get_loaded_integration(self.hass, domain) return await entry.async_unload(self.hass, integration=integration)