Fix Mastodon migrate config entry log warning (#124848)
Fix migrate config entry
This commit is contained in:
parent
3078b47d06
commit
ff39f09c4e
1 changed files with 1 additions and 2 deletions
|
@ -97,10 +97,9 @@ async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
LOGGER.error("Migration failed with error %s", ex)
|
||||
return False
|
||||
|
||||
entry.minor_version = 2
|
||||
|
||||
hass.config_entries.async_update_entry(
|
||||
entry,
|
||||
minor_version=2,
|
||||
unique_id=slugify(construct_mastodon_username(instance, account)),
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue