Skip to content

Commit

Permalink
Remove version check from migrate entry
Browse files Browse the repository at this point in the history
  • Loading branch information
bruxy70 committed Jul 10, 2022
1 parent 9c6f790 commit dc7b024
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_components/garbage_collection/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ async def async_remove_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->

async def async_migrate_entry(_, config_entry: ConfigEntry) -> bool:
"""Migrate old entry."""
if config_entry.version == const.CONFIG_VERSION:
return True
_LOGGER.info(
"Migrating %s from version %s", config_entry.title, config_entry.version
)
Expand Down

0 comments on commit dc7b024

Please sign in to comment.