diff --git a/homeassistant/components/config/device_registry.py b/homeassistant/components/config/device_registry.py index 7bd76310929..8444d407030 100644 --- a/homeassistant/components/config/device_registry.py +++ b/homeassistant/components/config/device_registry.py @@ -124,7 +124,7 @@ async def websocket_remove_config_entry_from_device( try: integration = await loader.async_get_integration(hass, config_entry.domain) - component = integration.get_component() + component = await integration.async_get_component() except (ImportError, loader.IntegrationNotFound) as exc: raise HomeAssistantError("Integration not found") from exc