mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-26 19:35:40 +02:00
Fix config entry version numbers
This commit is contained in:
parent
c5bd4d7251
commit
90023ae5af
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
||||
|
|
|
@ -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)",
|
||||
|
|
Loading…
Add table
Reference in a new issue