You will want to filter on status - something like this should work would need to test though:
type: custom:auto-entities
unique: true
show_empty: false
card:
type: entities
filter:
template: |
{%- for team in integration_entities("teamtracker") -%}
{%- if state_attr(team, "team_homeaway") == "home" and states(team) in ["IN", "PRE"] -%}
{{{"type": "custom:teamtracker-card",
"entity": team }}},
{%- endif -%}
{%- endfor -%}
exclude:
- entity_id: "*team_tracker*"
options: null
sort:
method: attribute
attribute: date
You can see how a lot of us use a deluttering card and then call the sport in either what Kevin started here ([Sports Standings and Scores])(Sports Standings and Scores) or out at my github above.