Real-Time Sports Scores Integration for Home Assistant

Hi everyone! I wanted to share an exciting project I’ve been working on to integrate real-time sports scores into Home Assistant. If you’re a sports enthusiast like me, this might be something you’ll love!

I’ve been working on extending the ha-nfl and ha-nfl-card custom components to support multiple sports and leagues. The result is TeamTracker and TeamTracker-Card, which now support teams in various football, basketball, baseball, hockey, and soccer leagues. The integration uses ESPN APIs to fetch real-time data and creates a sensor with detailed game attributes. The card provides custom in-game layouts for different sports, making it easy to follow your favorite teams right from your Home Assistant dashboard.

Supported Sports / Leagues

  • Baseball: MLB
  • Basketball: NBA, WNBA, NCAA Men’s, NCAA Women’s
  • Football: NFL, NCAA
  • Hockey: NHL (Coming Soon)
  • Soccer: MLS, NWSL, Bundesliga, Premier League, LaLiga, Serie A

Features

  • Real-Time Updates: Get live scores and game details as they happen.
  • Custom Layouts: Different layouts for football, baseball, basketball, and soccer games.
  • Sensor Integration: A dedicated sensor provides detailed game information that can be used in automations or other cards.

Installation

You can install these via HACS by adding the following repositories:

Screenshots

Here are some examples of how the card looks in different game phases:

PRE Game Examples

PRE-football
PRE-hockey

IN Game Examples

IN-baseball2
IN-soccer2

POST Game Examples

POST-soccer2

Feedback Welcome!

This project is still in its beta phase, and I’d love to get more eyes on it to improve it further. If you’re interested in testing it out, please let me know! You can report any issues, suggestions, or questions at the GitHub repositories linked above.

Thanks for your interest and support! Let’s make Home Assistant even more connected to the sports world!

Cheers,
[Your Name]