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)",