Skip to content

Commit

Permalink
fix minor version set in sync
Browse files Browse the repository at this point in the history
  • Loading branch information
hekmon committed Nov 14, 2024
1 parent feaa32f commit 36ddeb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/linkytic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry):
else:
new[SETUP_SERIAL] = serial_by_id

config_entry.minor_version = 2
hass.config_entries.async_update_entry(config_entry, data=new)
#config_entry.minor_version = 2
hass.config_entries.async_update_entry(config_entry, data=new, minor_version=2)

_LOGGER.info(
"Migration to version %d.%d successful",
Expand Down

0 comments on commit 36ddeb3

Please sign in to comment.