mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Migrate yale_smart_alarm to use async_update_entry to alter config entries (#110401)
This commit is contained in:
parent
aa0e8625ad
commit
7d1b9dce9d
@ -64,7 +64,7 @@ async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
|
|
||||||
hass.config_entries.async_update_entry(entry, options=new_options)
|
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)
|
LOGGER.info("Migration to version %s successful", entry.version)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user