MLB Standings Integration + Lovelace Card for Home Assistant

Hi everyone,

As a baseball fan and Home Assistant user, I was already using the excellent ESPN Team Tracker integration to keep track of scores and game results.

However, I was missing one thing: the actual MLB standings.

I wanted to see:

  • League standings
  • Division standings
  • Wild Card races
  • Postseason picture
  • Games behind
  • Win/loss records

directly inside Home Assistant without having to open MLB.com every time.

So I decided to build my own solution.

What I created

MLB Standings Integration

A custom Home Assistant integration that retrieves and exposes MLB standings data from the MLB Stats API.

GitHub: GitHub - walteij/HA-integrations · GitHub

MLB Standings Lovelace Card

A companion Lovelace card that presents the data in a clean and baseball-friendly dashboard view.

GitHub: GitHub - walteij/HA-Walteij-Lovelace: Lovelace cards for My HA addons · GitHub

Features

  • American League standings
  • National League standings
  • Division standings
  • Wild Card standings
  • Games Behind (GB)
  • Team records
  • Postseason race tracking
  • Fully integrated with Home Assistant dashboards

Why?

Because knowing that your dishwasher finished 17 minutes ago is nice.

Knowing your team just moved into a Wild Card spot is important.

Screenshots





Feedback Welcome

This started as a personal project, but if other MLB fans find it useful I’m happy to continue improving it.

Suggestions, bug reports and feature requests are welcome.

2 Likes

All f this existed for some time.
I wrote the original, @bburwell has also done considerable work.

All MLB, NFL, NBA, NHL and many other sports.

@walteij Awesome job on this!!! I love what you have done. As @kbrown01 pointed out we have implemented a lot of this using the ESPN API’s and you can see in the thread he added but the Wild Card Stats were alluding me. I just started playing with the MLB API a few weeks ago and was able to get what I wanted here:

Keep up the great work I’ll be watching!!