From 2516eafba6668398cc215ecbb2ae624c154c3adf Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 12 Feb 2024 02:22:44 -0600 Subject: [PATCH] Migrate axis to use async_update_entry to alter config entries (#110302) --- homeassistant/components/axis/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/axis/__init__.py b/homeassistant/components/axis/__init__.py index 65a425fa5c4..ae5ffcbdb7a 100644 --- a/homeassistant/components/axis/__init__.py +++ b/homeassistant/components/axis/__init__.py @@ -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)