-
First: Thank you for this awesome integration and the card! It looks like we need to create individual sensors for a team in a league to track. So ideally, you would set up one sensor for the team, that tracks it over different leagues. Thanks in advance for the answer! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@vasqued2 Sorry for the ping, is this something that would be possible? |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
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