Migrate axis to use async_update_entry to alter config entries (#110302)

This commit is contained in:
J. Nick Koston
2024-02-12 02:22:44 -06:00
committed by GitHub
parent e3813d4134
commit 2516eafba6

View File

@@ -50,7 +50,7 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
if config_entry.version != 3:
# Home Assistant 2023.2
config_entry.version = 3
hass.config_entries.async_update_entry(config_entry, version=3)
_LOGGER.info("Migration to version %s successful", config_entry.version)