Skip to content

Tracking a team over multiple competitions #87

Answered by vasqued2
brhahlen asked this question in Q&A
Discussion options

You must be logged in to vote

You have to set up a sensor for each league. This is a limitation of the ESPN API. It uses a different API call for each league.

The best way to get around this is to set up a sensor and card for each league and then hide the card when there is no upcoming game so you only see the card for the league with an upcoming game. The Wiki shows 2 ways to do this.

https://github.com/vasqued2/ha-teamtracker/wiki/Using-Auto-Entities-Card-to-Hide-NOT_FOUND-Status

https://github.com/vasqued2/ha-teamtracker/wiki/Using-Conditional-Cards-to-Hide-NOT_FOUND-Status

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by brhahlen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants