Fix config entry version numbers

This commit is contained in:
Jules 2025-05-11 11:10:45 +02:00
parent c5bd4d7251
commit 90023ae5af
Signed by: jdejaegh
GPG key ID: 99D6D184CA66933A
2 changed files with 2 additions and 2 deletions

View file

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

View file

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