Skip to content

Commit

Permalink
v0.14.4 Release Candidate (#185)
Browse files Browse the repository at this point in the history
* Fix Lint Errors

* Replace direct assignment of version with async_update_entry()

* Update version
  • Loading branch information
vasqued2 authored Oct 5, 2024
1 parent 8ff4087 commit f1aed24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions custom_components/teamtracker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion custom_components/teamtracker/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f1aed24

Please sign in to comment.