diff --git a/custom_components/teamtracker/__init__.py b/custom_components/teamtracker/__init__.py index 887316e..d65c478 100644 --- a/custom_components/teamtracker/__init__.py +++ b/custom_components/teamtracker/__init__.py @@ -197,9 +197,8 @@ async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: updated_config.update(LEAGUE_MAP[league_id]) if updated_config != entry.data: - hass.config_entries.async_update_entry(entry, data=updated_config) + hass.config_entries.async_update_entry(entry, data=updated_config, version=3) - entry.version = 3 _LOGGER.debug("%s: Migration to version %s complete", sensor_name, entry.version) return True diff --git a/custom_components/teamtracker/const.py b/custom_components/teamtracker/const.py index 22b18b4..53f9093 100644 --- a/custom_components/teamtracker/const.py +++ b/custom_components/teamtracker/const.py @@ -195,7 +195,7 @@ # Misc TEAM_ID = "" -VERSION = "v0.14.3" +VERSION = "v0.14.4" ISSUE_URL = "https://github.com/vasqued2/ha-teamtracker" DOMAIN = "teamtracker" ATTRIBUTION = "Data provided by ESPN" diff --git a/pyproject.toml b/pyproject.toml index c5029ad..545c0e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,6 +107,7 @@ disable = [ "too-many-instance-attributes", "too-many-lines", "too-many-locals", + "too-many-positional-arguments", "too-many-public-methods", "too-many-return-statements", "too-many-statements",