Skip to content

Commit

Permalink
Merge pull request #15 from BottlecapDave/develop
Browse files Browse the repository at this point in the history
Next release
  • Loading branch information
BottlecapDave authored Oct 5, 2024
2 parents cdffbda + ae62d3b commit b6f4667
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/harvest_time_tracker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ async def async_migrate_entry(hass, config_entry):
new_data = await async_migrate_main_config(config_entry.version, config_entry.data)
new_options = {**config_entry.options}

config_entry.version = CONFIG_VERSION
hass.config_entries.async_update_entry(config_entry, title=title, data=new_data, options=new_options)
hass.config_entries.async_update_entry(config_entry, title=title, data=new_data, options=new_options, version=CONFIG_VERSION)

_LOGGER.debug("Migration to version %s successful", config_entry.version)

Expand Down

0 comments on commit b6f4667

Please sign in to comment.