diff --git a/custom_components/ideenergy/__init__.py b/custom_components/ideenergy/__init__.py index 4bc0c15..5a9e042 100644 --- a/custom_components/ideenergy/__init__.py +++ b/custom_components/ideenergy/__init__.py @@ -153,6 +153,7 @@ async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry): contract_details = await api.get_contract_details() except ideenergy.client.ClientError as e: _LOGGER.debug(f"Unable to initialize integration: {e}") + return False update_integration(hass, entry, IDeEnergyDeviceInfo(contract_details)) return True