Real-Time Sports Scores w/ TeamTracker and TeamTracker-Card (Beta)

JUst in case anyone would like this, I thought I would post it.

##
##  NFL Teams
##
- platform: teamtracker
  league_id: NFL
  team_id: DET
  name: Detroit Lions
- platform: teamtracker
  league_id: NFL
  team_id: GB
  name: Green Bay
- platform: teamtracker
  league_id: NFL
  team_id: CHI
  name: Chicago Bears
- platform: teamtracker
  league_id: NFL
  team_id: MIN
  name: Minnesota Vikings
- platform: teamtracker
  league_id: NFL
  team_id: BUF
  name: Buffalo Bills
- platform: teamtracker
  league_id: NFL
  team_id: MIA
  name: Miami Dolphins
- platform: teamtracker
  league_id: NFL
  team_id: NE
  name: New England Patriots
- platform: teamtracker
  league_id: NFL
  team_id: NYJ
  name: New York Jets
- platform: teamtracker
  league_id: NFL
  team_id: DAL
  name: Dallas Cowboys
- platform: teamtracker
  league_id: NFL
  team_id: NYG
  name: New York Giants
- platform: teamtracker
  league_id: NFL
  team_id: PHI
  name: Philadelphia Eagles
- platform: teamtracker
  league_id: NFL
  team_id: WSH
  name: Washington Commanders
- platform: teamtracker
  league_id: NFL
  team_id: BAL
  name: Baltimore Ravens
- platform: teamtracker
  league_id: NFL
  team_id: CIN
  name: Cincinnati Bengals
- platform: teamtracker
  league_id: NFL
  team_id: CLE
  name: Cleveland Browns
- platform: teamtracker
  league_id: NFL
  team_id: PIT
  name: Pittsburg Steelers
- platform: teamtracker
  league_id: NFL
  team_id: HOU
  name: Houston Texans
- platform: teamtracker
  league_id: NFL
  team_id: IND
  name: Indianapolis Colts
- platform: teamtracker
  league_id: NFL
  team_id: JAX
  name: Jacksonville Jaguars
- platform: teamtracker
  league_id: NFL
  team_id: TEN
  name: Tennessee Titans
- platform: teamtracker
  league_id: NFL
  team_id: ATL
  name: Atlanta Falcons
- platform: teamtracker
  league_id: NFL
  team_id: CAR
  name: Carolina Panthers
- platform: teamtracker
  league_id: NFL
  team_id: "NO"
  name: New Orleans Saints
- platform: teamtracker
  league_id: NFL
  team_id: TB
  name: Tampa Bay Buccaneers
- platform: teamtracker
  league_id: NFL
  team_id: DEN
  name: Denver Broncos
- platform: teamtracker
  league_id: NFL
  team_id: KC
  name: Kansas City Chiefs
- platform: teamtracker
  league_id: NFL
  team_id: LV
  name: Las Vegas Raiders
- platform: teamtracker
  league_id: NFL
  team_id: LAC
  name: Los Angeles Chargers
- platform: teamtracker
  league_id: NFL
  team_id: ARI
  name: Arizona Cardinals
- platform: teamtracker
  league_id: NFL
  team_id: LAR
  name: Los Angeles Rams
- platform: teamtracker
  league_id: NFL
  team_id: SF
  name: "San Francisco 49ers"
- platform: teamtracker
  league_id: NFL
  team_id: SE
  name: Seattle Seahawks
##
##  NHL Teams
##
- platform: teamtracker
  league_id: NHL
  team_id: DET
  name: Detroit Red Wings
- platform: teamtracker
  league_id: NHL
  team_id: NSH
  name: Nashville Predators
- platform: teamtracker
  league_id: NHL
  team_id: FLA
  name: Florida Panthers
- platform: teamtracker
  league_id: NHL
  team_id: STL
  name: St Louis Blues
- platform: teamtracker
  league_id: NHL
  team_id: COL
  name: Colorado Avalanche
- platform: teamtracker
  league_id: NHL
  team_id: BOS
  name: Boston Bruins
- platform: teamtracker
  league_id: NHL
  team_id: NYI
  name: New York Islanders
- platform: teamtracker
  league_id: NHL
  team_id: PIT
  name: Pittsburg Penguins
- platform: teamtracker
  league_id: NHL
  team_id: NJ
  name: New Jersey Devils
- platform: teamtracker
  league_id: NHL
  team_id: DAL
  name: Dallas Stars
- platform: teamtracker
  league_id: NHL
  team_id: CBJ
  name: Columbus Blue Jackets
- platform: teamtracker
  league_id: NHL
  team_id: TOR
  name: Toronto Maple Leafs
- platform: teamtracker
  league_id: NHL
  team_id: MTL
  name: Montreal Canadians
- platform: teamtracker
  league_id: NHL
  team_id: CAR
  name: Carolina Hurricanes
- platform: teamtracker
  league_id: NHL
  team_id: WSH
  name: Washington Senators
- platform: teamtracker
  league_id: NHL
  team_id: CGY
  name: Calgary Flames
- platform: teamtracker
  league_id: NHL
  team_id: NYR
  name: New York Rangers
- platform: teamtracker
  league_id: NHL
  team_id: VAN
  name: Vancouver Canucks
- platform: teamtracker
  league_id: NHL
  team_id: PHI
  name: Philadelphia Fylers
- platform: teamtracker
  league_id: NHL
  team_id: LA
  name: Los Angeles Kings
- platform: teamtracker
  league_id: NHL
  team_id: ARI
  name: Arizona Coyotes
- platform: teamtracker
  league_id: NHL
  team_id: SJ
  name: San Jose Sharks
- platform: teamtracker
  league_id: NHL
  team_id: BUF
  name: Buffalo Sabres
- platform: teamtracker
  league_id: NHL
  team_id: SEA
  name: Seattle Kraken
- platform: teamtracker
  league_id: NHL
  team_id: VGK
  name: Los Vegas Golden Knights
- platform: teamtracker
  league_id: NHL
  team_id: TB
  name: Tampa Bay Lightning
- platform: teamtracker
  league_id: NHL
  team_id: OTT
  name: Ottawa Senators
- platform: teamtracker
  league_id: NHL
  team_id: WPG
  name: Winnipeg Jets
- platform: teamtracker
  league_id: NHL
  team_id: EDM
  name: Edmonton Oilers
- platform: teamtracker
  league_id: NHL
  team_id: MIN
  name: Minnesota Wild
- platform: teamtracker
  league_id: NHL
  team_id: ANA
  name: Anaheim Ducks
- platform: teamtracker
  league_id: NHL
  team_id: CHI
  name: Chicago Blackhawks
##
## MLB Teams
##
- platform: teamtracker
  league_id: MLB
  team_id: LAA
  name: Los Angeles Angels
- platform: teamtracker
  league_id: MLB
  team_id: CHW
  name: Chicago White Sox
- platform: teamtracker
  league_id: MLB
  team_id: CLE
  name: Cleveland Guardians
- platform: teamtracker
  league_id: MLB
  team_id: KC
  name: Kansas City Royals
- platform: teamtracker
  league_id: MLB
  team_id: MIL
  name: Milwaukee Brewers
- platform: teamtracker
  league_id: MLB
  team_id: OAK
  name: Oakland Athletics
- platform: teamtracker
  league_id: MLB
  team_id: SEA
  name: Seattle Mariners
- platform: teamtracker
  league_id: MLB
  team_id: TEX
  name: Texas Rangers
- platform: teamtracker
  league_id: MLB
  team_id: CHC
  name: Chicago Cubs
- platform: teamtracker
  league_id: MLB
  team_id: CIN
  name: Cincinnati Reds
- platform: teamtracker
  league_id: MLB
  team_id: LAD
  name: Los Angeles Dodgers
- platform: teamtracker
  league_id: MLB
  team_id: SD
  name: San Diego Padres
- platform: teamtracker
  league_id: MLB
  team_id: SF
  name: San Francisco Giants
- platform: teamtracker
  league_id: MLB
  team_id: COL
  name: Colorado Rockies
- platform: teamtracker
  league_id: MLB
  team_id: ARI
  name: Arizona Diamondbacks
- platform: teamtracker
  league_id: MLB
  team_id: BAL
  name: Baltimore Orioles
- platform: teamtracker
  league_id: MLB
  team_id: BOS
  name: Boston Red Sox
- platform: teamtracker
  league_id: MLB
  team_id: DET
  name: Detroit Tigers
- platform: teamtracker
  league_id: MLB
  team_id: MIN
  name: Minnesota Twins
- platform: teamtracker
  league_id: MLB
  team_id: NYY
  name: New York Yankees
- platform: teamtracker
  league_id: MLB
  team_id: TOR
  name: Toronto Blue Jays
- platform: teamtracker
  league_id: MLB
  team_id: ATL
  name: Atlanta Braves
- platform: teamtracker
  league_id: MLB
  team_id: HOU
  name: Houston Astros
- platform: teamtracker
  league_id: MLB
  team_id: WSH
  name: Washington Nationals
- platform: teamtracker
  league_id: MLB
  team_id: NYM
  name: New York Mets
- platform: teamtracker
  league_id: MLB
  team_id: PHI
  name: Philadelphia Phillies
- platform: teamtracker
  league_id: MLB
  team_id: PIT
  name: Pittsburgh Pirates
- platform: teamtracker
  league_id: MLB
  team_id: STL
  name: St. Louis Cardinals
- platform: teamtracker
  league_id: MLB
  team_id: MIA
  name: Miami Marlins
- platform: teamtracker
  league_id: MLB
  team_id: TB
  name: Tampa Bay Rays

I use that with this:

type: custom:layout-card
layout_type: grid
cards:
  - type: custom:collapsable-cards
    style: ha-card {overflow:visible!important}
    title: NHL
    defaultOpen: desktop-only
    buttonStyle: 'font-size: 20px; border-width: 2px;'
    cards:
      - type: custom:auto-entities
        title: NHL Hockey
        unique: true
        show_empty: false
        card:
          type: custom:layout-card
          layout_type: masonry
        card_param: cards
        filter:
          template: |
            {%- for team in integration_entities("teamtracker") -%}
              {%- if state_attr(team, "league") == "NHL" -%}
              {%- if state_attr(team, "team_homeaway") == "home" -%}
                {{{"type": "custom:teamtracker-card",
                  "entity": team }}},
              {%- endif -%}
              {%- endif -%}
            {%- endfor -%}
          exclude:
            - entity_id: '*team_tracker*'
        sort:
          method: attribute
          attribute: date
  - type: custom:collapsable-cards
    style: ha-card {overflow:visible!important}
    title: NFL
    defaultOpen: desktop-only
    buttonStyle: 'font-size: 20px; border-width: 2px;'
    cards:
      - type: custom:auto-entities
        unique: true
        show_empty: false
        card:
          type: custom:layout-card
          layout_type: masonry
        card_param: cards
        filter:
          template: |
            {%- for team in integration_entities("teamtracker") -%}
              {%- if state_attr(team, "league") == "NFL" -%}
              {%- if state_attr(team, "team_homeaway") == "home" -%}
                {{{"type": "custom:teamtracker-card",
                  "entity": team }}},
              {%- endif -%}
              {%- endif -%}
            {%- endfor -%}
          exclude:
            - entity_id: '*team_tracker*'
        sort:
          method: attribute
          attribute: date
  - type: custom:collapsable-cards
    style: ha-card {overflow:visible!important}
    title: MLB
    defaultOpen: desktop-only
    buttonStyle: 'font-size: 20px; border-width: 2px;'
    cards:
      - type: custom:auto-entities
        unique: true
        show_empty: false
        card:
          type: custom:layout-card
          layout_type: masonry
        card_param: cards
        filter:
          template: |
            {%- for team in integration_entities("teamtracker") -%}
              {%- if state_attr(team, "league") == "MLB" -%}
              {%- if state_attr(team, "team_homeaway") == "home" -%}
                {{{"type": "custom:teamtracker-card",
                  "entity": team }}},
              {%- endif -%}
              {%- endif -%}
            {%- endfor -%}
          exclude:
            - entity_id: '*team_tracker*'
        sort:
          method: attribute
          attribute: date
3 Likes