Releases: vasqued2/ha-teamtracker
v0.16.5-beta.1
Completed HockeyTech Enhancements and Bug Fixes
- Expand to all leagues supported by the HockeyTech API
api_urlupdated 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_namefor 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
- Improve Config Flow for HockeyTech APIs
- Add copyright notice to HockeyTech attribution
v0.16.4
- Support for the PWHL hockey league (beta)
- Fix for team play in golf
- Fix for postponed events
PWHL support is the first use of non-ESPN APIs. Thanks to @iAmWayward for the contribution. Functionality should be treated as beta and bugs reported in Issues.
To set up a PWHL sensor, set up a custom API w/ sport_path = "hockeytech" and league_path = "PWHL". Then manually input the Team ID.
v0.16.3
- Don't save
last_updateto Recorder to slow growth (thanks @duczz for the idea) - Refactor DataCoordinator in preparation for support of non-ESPN APIs
- Refactor regression tests to use mock API calls
- Refactor regression tests to use snapshots instead of expected results files
This was a major refactor of key components of the sensor in preparation for the addition of new functionality.
Please report any defects to the Issues log.
v0.16.2
- Populate
league_namewhenleague_pathis "all" and sensor state is POST
Thanks to @irishpadres for the fix
v0.16.1
v0.16.0
- Complete rewrite of the UI Configuration Flow to be more intuitive, including ability to search and auto-fill values for
team_idandconference_id
Please submit any defects as new issues.
Special thanks to @duczz for the submission and doing the heavy lifting.
Backward compatibility: Compatible with v0.15.x of Team Tracker Card
Next Change
There is a proposal to change some attributes (i.e. tv_network) from NULL to "" (an empty string) when the API doesn't return a value. This would allow string functions to be used more easily in jinja2 templates. If this will cause a problem for you, please provide input on the Discussion on GitHub.
v0.16.0-beta.2
- Complete rewrite of the UI Configuration Flow to be more intuitive, including ability to search and auto-fill values for
team_idandconference_id
Updates:
- Breakout out last step of config flow into two steps
- Remove ESPN link to team names because of timeout delay required for validation
- Look up team abbr when state is NOT_FOUND
- Change handling of client sessions to standard approach
- Improve unit tests
Please submit any defects as new issues on github or in this HA Community Discussion thread.
Special thanks to @duczz for the submission and doing the heavy lifting.
v0.16.0-beta
- Complete rewrite of the UI Configuration Flow to be more intuitive, including ability to search and auto-fill values for
team_idandconference_id
Please submit any defects as new issues on github or in this HA Community Discussion thread.
Special thanks to @duczz for the submission and doing the heavy lifting.
v0.15.1
- Added improved processing when league_path is set to all and team_id uses the integer Team ID from ESPN.
Thanks to @irishpadres for the contribution.
Future Changes
There is a proposal to change some attributes (i.e. tv_network) from NULL to "" (an empty string) when the API doesn't return a value. This would allow string functions to be used more easily in jinja2 templates. If this will cause a problem for you, please provide input on the Discussion on GitHub.
v0.15.0
- Internal bug fixes
- German translation added
- Added new attribute 'league_name'
- Groundwork for future changes/enhancements
Thanks to @duczz for bug fixes and translation
Backward compatibility: Compatible with v0.14.x of Team Tracker Card
Future Changes
- There is a proposal to change some attributes (i.e. tv_network) from NULL to "" (an empty string) when the API doesn't return a value. This would allow string functions to be used more easily in jinja2 templates. If this will cause a problem for you, please provide input on the Discussion on GitHub.