mirror of
https://github.com/home-assistant/core
synced 2024-10-03 00:50:17 +00:00
Migrate verisure to use async_update_entry to alter config entries (#110400)
This commit is contained in:
parent
7d1b9dce9d
commit
db9c08b2e0
|
@ -108,7 +108,7 @@ async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
|
||||
hass.config_entries.async_update_entry(entry, options=new_options)
|
||||
|
||||
entry.version = 2
|
||||
hass.config_entries.async_update_entry(entry, version=2)
|
||||
|
||||
LOGGER.info("Migration to version %s successful", entry.version)
|
||||
|
||||
|
|
Loading…
Reference in a new issue