mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
Migrate switchbee to use async_update_entry to alter config entries (#110392)
This commit is contained in:
parent
332db5093f
commit
df8a168c97
@ -156,7 +156,7 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
|
||||
hass, config_entry.entry_id, update_unique_id
|
||||
)
|
||||
|
||||
config_entry.version = 2
|
||||
hass.config_entries.async_update_entry(config_entry, version=2)
|
||||
|
||||
_LOGGER.info("Migration to version %s successful", config_entry.version)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user