From 90023ae5afd4af82b0d156734e43600e78e112f6 Mon Sep 17 00:00:00 2001 From: Jules Dejaeghere Date: Sun, 11 May 2025 11:10:45 +0200 Subject: [PATCH] Fix config entry version numbers --- custom_components/irm_kmi/__init__.py | 2 +- custom_components/irm_kmi/const.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/irm_kmi/__init__.py b/custom_components/irm_kmi/__init__.py index a90baec..239cd4e 100644 --- a/custom_components/irm_kmi/__init__.py +++ b/custom_components/irm_kmi/__init__.py @@ -85,7 +85,7 @@ async def async_migrate_entry(hass, config_entry: ConfigEntry): if config_entry.version == 5: del new[CONF_USE_DEPRECATED_FORECAST] - hass.config_entries.async_update_entry(config_entry, data=new, version=5) + hass.config_entries.async_update_entry(config_entry, data=new, version=6) _LOGGER.debug(f"Migration to version {config_entry.version} successful") diff --git a/custom_components/irm_kmi/const.py b/custom_components/irm_kmi/const.py index 95d6a3f..93600cc 100644 --- a/custom_components/irm_kmi/const.py +++ b/custom_components/irm_kmi/const.py @@ -25,7 +25,7 @@ from irm_kmi_api import PollenName DOMAIN: Final = 'irm_kmi' PLATFORMS: Final = [Platform.WEATHER, Platform.CAMERA, Platform.BINARY_SENSOR, Platform.SENSOR] -CONFIG_FLOW_VERSION = 5 +CONFIG_FLOW_VERSION = 6 OUT_OF_BENELUX: Final = ["außerhalb der Benelux (Brussels)", "Hors de Belgique (Bxl)",