mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +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…
x
Reference in New Issue
Block a user