Skip to content

Commit

Permalink
v0.14.5 Release Candidate (#194)
Browse files Browse the repository at this point in the history
* Use long name for MMA events
  • Loading branch information
vasqued2 authored Nov 16, 2024
1 parent f1aed24 commit a10b438
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
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.4"
VERSION = "v0.14.5"
ISSUE_URL = "https://github.com/vasqued2/ha-teamtracker"
DOMAIN = "teamtracker"
ATTRIBUTION = "Data provided by ESPN"
Expand Down
2 changes: 2 additions & 0 deletions custom_components/teamtracker/set_mma.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ async def async_set_mma_values(

# _LOGGER.debug("%s: async_set_mma_values() 2: %s %s %s", sensor_name, competition_index, team_index, oppo_index)

new_values["event_name"] = await async_get_value(event, "name")

t = 0
o = 0
for ls in range(
Expand Down
2 changes: 1 addition & 1 deletion tests/tt/results/test_tt_all_test22.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"league_logo": "https://a.espncdn.com/i/teamlogos/leagues/500/mlb.png",
"team_abbr": "STRICKLAND",
"opponent_abbr": null,
"event_name": "UFC Fight Night",
"event_name": "UFC Fight Night: Cannonier vs. Strickland",
"event_url": "https://www.espn.com/mma/fightcenter/_/id/600023847",
"date": "2022-12-18T00:00Z",
"kickoff_in": "{test} days",
Expand Down
2 changes: 1 addition & 1 deletion tests/tt/results/test_tt_all_test23.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"league_logo": "https://a.espncdn.com/i/teamlogos/leagues/500/mlb.png",
"team_abbr": "CACERES",
"opponent_abbr": null,
"event_name": "UFC Fight Night",
"event_name": "UFC Fight Night: Cannonier vs. Strickland",
"event_url": "https://www.espn.com/mma/fightcenter/_/id/600023847",
"date": "2022-12-18T00:00Z",
"kickoff_in": "{test} days",
Expand Down
2 changes: 1 addition & 1 deletion tests/tt/results/test_tt_all_test24.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"league_logo": "https://a.espncdn.com/i/teamlogos/leagues/500/mlb.png",
"team_abbr": "FAKHRETDINOV",
"opponent_abbr": null,
"event_name": "UFC Fight Night",
"event_name": "UFC Fight Night: Cannonier vs. Strickland",
"event_url": "https://www.espn.com/mma/fightcenter/_/id/600023847",
"date": "2022-12-17T21:00Z",
"kickoff_in": "{test} days",
Expand Down

0 comments on commit a10b438

Please sign in to comment.