A Home Assistant frontend custom card that will display real-time updates for teams tracked with the ha-teamtracker integration by @vasqued2. Has custom in-game layouts for football, baseball, basketball, soccer, hockey, volleyball, golf, tennis, mma, and racing.
This card was strongly based on the fantastic ha-nfl-card by @D34DC3N73R.
OR Manually
When given the Option, Reload.
url: /hacsfiles/ha-teamtracker-card/ha-teamtracker-card.js
type: Javascript Module
url: /hacsfiles/ha-teamtracker-card/ha-teamtracker-card.js
type: Javascript Module
Add a Manual card to the dashboard and enter the YAML to configure it as desired.
Name | Description | Default | Required | Values |
---|---|---|---|---|
entity |
Name of ha-teamtracker sensor | sensor.team_tracker |
Yes | Valid sensor |
card_title |
Overrides show_league and displays the specified string at the top of the card |
None | No | Any string value |
home_side |
Force the home team to the left or right side of scoreboard | Team displayed on left and opponent displayed on right | No | left right |
outline |
Outline team colors (helpful w/ dark themes) | false |
No | true false |
outline_color |
Specifies outline color. | white |
No | CSS color or hex value |
show_timeouts |
Specifies if timeout indicators should be shown. | true |
No | true false |
show_rank |
Specifies if team rank should be shown. | true |
No | true false |
show_league |
Specifies if league should be shown at the top of the card. | false |
No | true false |
team_url |
Provides an override url when the Home logo is tapped. | No override | No | Any valid URL (i.e. "https://www.espn.com") |
opponent_url |
Provides an override url when the Oppenent logo is tapped. | No override | No | Any valid URL (i.e. "https://www.espn.com") |
bottom_url |
Provides an override url when the bottom of the card is tapped. | No override | No | Any valid URL (i.e. "https://www.espn.com") |
type: 'custom:teamtracker-card'
entity: sensor.team_tracker
outline: true
outline_color: deeppink
type: 'custom:teamtracker-card'
entity: sensor.team_tracker
outline: true
outline_color: '#ffe500'
type: 'custom:teamtracker-card'
entity: sensor.team_tracker
outline: true
outline_color: lightgray
show_timeouts: false
show_rank: true
type: 'custom:teamtracker-card'
entity: sensor.team_tracker
Where sensor.team_tracker
is the sensor name from the ha-teamtracker integration.