Skip to content

Releases: vasqued2/ha-teamtracker

v0.17.8-beta.1

09 Jun 01:15

Choose a tag to compare

v0.17.8-beta.1 Pre-release
Pre-release
  • Have baseball leagues use default dates for ESPN and MLB Stats API calls
    • This will return a single day of games, displaying yesterday's results until around 11:00AM EST and then switching to today's games.
    • If there is no team game scheduled for the day returned, sensor will be set to NOT_FOUND

Leave feedback on this functionality on this issue.

v0.17.7

08 Jun 14:31
0f83b4f

Choose a tag to compare

  • Added support for MLB and 10+ minor league baseball leagues (MLB, AAA, AA, etc.) via the MLB Stats APIs
    • Use a Custom API with sport_path=mlbstats, league_path=(mlb, aaa, aax, etc.).
    • Team searches are supported in the Config Flow.
    • See README.md for full list of baseball leagues supported by the MLB Stats APIs.
    • Not all supported leagues have been tested. Please report problems in github Issues.
    • Not all leagues have logos in the override file. Please submit additions if you use them or open an Issue and I will help.
    • The MLB Stats API will only return games in a 3 day window (yesterday, today, tomorrow.
    • MLB games are supported by both the ESPN and MLB Stats APIs. There are minor data and timing variances between them.
  • Reduced lead time to switch from completed games to upcoming games from 18 to 12 hours to work better w/ the increase in MLB day games
  • Changed cache management to handle live MLB Stats games

Note: Changes to cache management could impact other sports and leagues. Everything appears to be working correctly, but if you notice problems with data refreshes, please open an Issue and note the sport, league, team, and sensor state when the problem was detected.

Thanks to @brianhaferkamp for the MLB Stats API documentation

v0.17.6

30 May 15:38
995f35e

Choose a tag to compare

  • Add new event_id attribute
  • Introduce dynamic override capability in teamtracker_overrides.json file
  • Use dynamic override to populate event_url for non-ESPN APIs when possible
  • Add new event_stream, team_stream, and opponent_stream attributes (provided by HockeyTech API)

v0.17.5

27 May 21:42
0a22c73

Choose a tag to compare

  • Implement an override file (teamtracker_overrides.json) allowing users to locally populate or override the value of league and team attributes when not provided by the API (especially beneficial for non-ESPN APIs)
  • Lower priority level of CFL debug messages
  • Optimize parser

See this Wiki entry for details and file format.

v0.17.4

25 May 18:32
ef55080

Choose a tag to compare

  • Added new data provider (cflscoreboard) to support the Canadian Football League (beta)
    • Use sport_path = cflscoreboard, league_path = cfl

Note: The CFL data provider does not return team logos or websites. Support for individual and community provided values will be included in a future release.

v0.17.3

21 May 00:16
ea9e26e

Choose a tag to compare

  • Fix invalid URLs returned by HockeyTech API
  • Internal cache optimization

v0.17.2

17 May 15:38
61dbbcd

Choose a tag to compare

  • Refactor of API code to improve reuse and efficiency across current and future data providers
  • No new functionality

The code is now structured to easily support contributions supporting additional data providers.

Report new issues here.

v0.17.1

08 May 23:26
6607597

Choose a tag to compare

  • Fix bug with Quebec Maritimes Junior Hockey League (use id LHJMQ instead of QMJHL)
  • Populate team_abbr for HockeyTech teams even if no games upcoming
  • Populate name and date of next race even if driver field not finalized
  • Improved Python type checking

v0.17.0

03 May 01:13
33321c9

Choose a tag to compare

Continued Maturation of HockeyTech Support

  • Full support for HockeyTech APIs (see README for setup instructions and list of leagues available including PWHL, AHL, and CHL)
  • Enhanced Config Flow for HockeyTech leagues, including ability to search for teams with Custom API setup

Minor Improvements

  • Improved api_message for racing when driver grid is not finalized
  • Populated api_url, even when using cached data

Thanks to @iAmWayward for the HockeyTech API contribution

v0.16.5-beta.2

30 Apr 22:58
59c9522

Choose a tag to compare

v0.16.5-beta.2 Pre-release
Pre-release

Completed HockeyTech Enhancements and Bug Fixes

  • Improve Config Flow for HockeyTech APIs (new in beta.2)
  • Expand to all leagues supported by the HockeyTech API
  • api_url updated to show all parms used
  • Enhance testing for hockeytech API (PRE, POST, IN states)
  • Change attribution to HockeyTech from ESPN
  • Request HockeyTech response in preferred language (only honors fr)
  • Reduce refresh rate during IN state for HockeyTech to 60 seconds due to low update rate
  • Populate league_name for HockeyTech sensors
  • Update ESPN api's to HockeyTech model for consistency

To Do

  • Multiple HockeyTech attributes have Invalid URLs
  • Hardcoded URLs do not extend beyond PWHL