mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Fix Mastodon migrate config entry log warning (#124848)
Fix migrate config entry
This commit is contained in:
parent
a4e9e4b23b
commit
c4fd1cfc8f
@ -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…
x
Reference in New Issue
Block a user