Migrate samsungtv to use async_update_entry to alter config entries (#110362)
This commit is contained in:
parent
542e306b0c
commit
d78bb3894c
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
|
|||
en_reg = er.async_get(hass)
|
||||
en_reg.async_clear_config_entry(config_entry.entry_id)
|
||||
|
||||
version = config_entry.version = 2
|
||||
hass.config_entries.async_update_entry(config_entry, version=2)
|
||||
LOGGER.debug("Migration to version %s successful", version)
|
||||
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue