diff --git a/custom_components/fontawesome/__init__.py b/custom_components/fontawesome/__init__.py index 3719022..7c03165 100644 --- a/custom_components/fontawesome/__init__.py +++ b/custom_components/fontawesome/__init__.py @@ -101,11 +101,10 @@ async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: """Migrate old entry.""" if entry.version == 1: - entry.version = 2 - hass.config_entries.async_update_entry( entry, - title="Fontawesome Icons" + title="Fontawesome Icons", + version = 2 ) LOGGER.info("Migrating fontawesome config entry.") return True