Skip to content

Commit

Permalink
Fix config entry migration
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Mar 31, 2024
1 parent bab0d5f commit a505293
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/xiaomi_gateway3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry):
hass_utils.migrate_legacy_devices_unique_id(hass)
hass_utils.migrate_legacy_entitites_unique_id(hass)
hass_utils.migrate_devices_store()

hass.config_entries.async_update_entry(config_entry, version=4)
return True


Expand Down

0 comments on commit a505293

Please sign in to comment.