Bekomme einfach 2. Bundesliga nicht in der Flex Table-Karte angezeigt

Habe beide Ligen im Team Tracker angelegt

Die 1. Liga wird in der Table-Karte auch richtig angezeigt

Aber ich bekomme einfach die 2. Liga nicht angezeigt.
Lege ich ne neue Table-Karte mit 2. Liga an, verschwinden beide.
Der Code für die 2. Liga ist

type: custom:flex-table-card
entities:
include: sensor.team_tracker_bund2_tabelle
columns:

name: “#”
data: entries
modify: x.stats[10].value

name: Logo
data: entries
modify: “‘<img src="’ + x.team.logos[0].href + ‘"style="width: 100%">’”

name: Mannschaft
data: entries
modify: x.team.name

name: Sp
data: entries
modify: x.stats[0].value

name: S
data: entries
modify: x.stats[7].value

name: U
data: entries
modify: x.stats[6].value

name: “N”
data: entries
modify: x.stats[1].value

name: Tore
data: entries
modify: |-
{
x.stats[5].value +
" : " +
x.stats[4].value
}

name: D
data: entries
modify: |-
{
x.stats[5].value -
x.stats[4].value
}

name: Pkt
data: entries
modify: x.stats[3].value
strict: true
css:
tbody td:nth-child(8)+: “width: 40px;””

Gebe ich den Code soweit ein, kommen die Überschriften

Doch drücke ich Speichern, sind beide Karten weg.

Wo übersehe ich den Fehler? :thinking:

Ach ja, die Entität sieht wie folgt aus:

attribution: Data provided by ESPN
state: PRE
sport: soccer
sport_path: soccer
league: BUND
league_path: ger.2
league_logo: https://a.espncdn.com/i/leaguelogos/soccer/500/97.png
league_name: German 2. Bundesliga
season: 2026-27-german-2-bundesliga
team_abbr: EBS
opponent_abbr: FCM
event_id: "401885148"
event_name: EBS @ FCM
event_url: >-
  https://www.espn.com/soccer/match?gameId=401885148/tsv-eintracht-braunschweig-1-fc-magdeburg
event_stream: null
date: 2026-08-08T11:00Z
kickoff_in: in einem Monat
series_summary: null
venue: MDCC-Arena
location: Magdeburg, Germany
tv_network: null
odds: null
overunder: null
team_name: E Braunschweig
team_long_name: TSV Eintracht Braunschweig
team_id: "3067"
team_record: 0-0-0
team_rank: null
team_conference_id: null
team_homeaway: away
team_logo: https://a.espncdn.com/i/teamlogos/soccer/500/3067.png
team_url: https://www.espn.com/soccer/club/_/id/3067/TSV Eintracht Braunschweig
team_stream: null
team_colors:
  - "#ffde16"
  - "#1a1a1a"
team_score: "0"
team_win_probability: null
team_winner: false
team_timeouts: null
opponent_name: Magdeburg
opponent_long_name: 1. FC Magdeburg
opponent_id: "10382"
opponent_record: 0-0-0
opponent_rank: null
opponent_conference_id: null
opponent_homeaway: home
opponent_logo: https://a.espncdn.com/i/teamlogos/soccer/500/10382.png
opponent_url: https://www.espn.com/soccer/club/_/id/10382/1. FC Magdeburg
opponent_stream: null
opponent_colors:
  - "#0068B2"
  - "#ffffff"
opponent_score: "0"
opponent_win_probability: null
opponent_winner: false
opponent_timeouts: null
quarter: null
clock: Scheduled
possession: null
last_play: null
down_distance_text: null
outs: null
balls: null
strikes: null
on_first: null
on_second: null
on_third: null
team_shots_on_target: null
team_total_shots: null
opponent_shots_on_target: null
opponent_total_shots: null
team_sets_won: null
opponent_sets_won: null
last_update: "2026-07-08 11:36:12+02:00"
api_message: null
api_url: >-
  https://site.api.espn.com/apis/site/v2/sports/soccer/ger.2/scoreboard?lang=de&limit=50&dates=20260707-20261006
private_fast_refresh: false
icon: mdi:soccer
friendly_name: 2_Bundesliga

Hallo, hast du das Problem schon gelöst?

Falls nicht: Bei mir war der Fehler, dass ein Team kein Logo hatte und somit die gesamte Tabelle nicht angezeigt wurde.

Hier ist meine Änderung:
name: Logo
data: entries
modify: >-
x.team.logos ? “” : “”

Ich hoffe, ich konnte damit helfen!

Danke dir, läuft bei mir aber auf Konfigurationsfehler

type: custom:flex-table-card
entities:
  include: sensor.team_tracker_bund2_tabelle
columns:
  - name: "#"
    data: entries
    modify: x.stats[10].value
  - name: Logo
    data: entries
    modify: x.team.logos ? “” : “”.href + '\"style=\"width: 100%\">'"
  - name: Mannschaft
    data: entries
    modify: x.team.name
  - name: Sp
    data: entries
    modify: x.stats[0].value
  - name: S
    data: entries
    modify: x.stats[7].value
  - name: U
    data: entries
    modify: x.stats[6].value
  - name: "N"
    data: entries
    modify: x.stats[1].value
  - name: Tore
    data: entries
    modify: |-
      {
        x.stats[5].value +
        " : " +
        x.stats[4].value
      }
  - name: D
    data: entries
    modify: |-
      {
        x.stats[5].value -
        x.stats[4].value
      }
  - name: Pkt
    data: entries
    modify: x.stats[3].value
strict: true
css:
  tbody td:nth-child(8)+: "width: 40px;"

Wenn ich die Config ganz mager halter, so wie hier

type: custom:flex-table-card
entities:
  include: sensor.team_tracker_bund2_tabelle
columns:
  - name: "#"
    data: entries
    modify: x.stats.find(y => y.name === 'rank').value
  - name: Mannschaft
    data: entries
    modify: x.team.name
  - name: Sp
    data: entries
    modify: x.stats[0].value
  - name: Pkt
    data: entries
    modify: x.stats.find(y => y.name === 'points').value
strict: true
css:
  tbody td:nth-child(8)+: "width: 40px;"

dann wird es mager angezeigt. Füge ich was hinzu, gehts auf Konfigurationsfehler

type: custom:flex-table-card

entities:

  include:

    - sensor.team_tracker_bund2_tabelle

columns:

  - name: PL

    data: entries

    modify: x.stats\[11\].value

  - name: Logo

    data: entries

    modify: >-

      x.team.logos ? "<img src=\\"" + x.team.logos\[0\].href + "\\" style=\\"width:

      100%\\">" : ""

  - name: Mannschaft

    data: entries

    modify: x.team.name

  - name: Sp

    data: entries

    modify: x.stats\[0\].value

  - name: S

    data: entries

    modify: x.stats\[7\].value

  - name: U

    data: entries

    modify: x.stats\[6\].value

  - name: "N"

    data: entries

    modify: x.stats\[1\].value

  - name: Tore

    data: entries

    modify: "x.stats\[5\].value + \\" : \\" + x.stats\[4\].value"

  - name: D

    data: entries

    modify: x.stats\[2\].value

  - name: Pkt

    data: entries

    modify: x.stats\[3\].value

strict: false

css:

 tbody td:nth-child(8)+: "width: 40px;"

bei cottbus fehlt das Logo auch bei mir. Mit der config wird auf Fehler überprüft.

Danke dir für deine Bemühungen :slightly_smiling_face:
Hier macht er noch ne Fehlermeldung

type: custom:flex-table-card

entities:

  include:

    - sensor.team_tracker_bund2_tabelle

columns:

  - name: PL
    data: entries
    modify: x.stats\[11\].value

  - name: Logo
    data: entries
    modify: >-

      x.team.logos ? "<img src=\\"" + x.team.logos\[0\].href + "\\" style=\\"width:

      100%\\">" : ""

  - name: Mannschaft
    data: entries
    modify: x.team.name

  - name: Sp
    data: entries
    modify: x.stats\[0\].value

  - name: S
    data: entries
    modify: x.stats\[7\].value

  - name: U
    data: entries
    modify: x.stats\[6\].value

  - name: "N"
    data: entries
    modify: x.stats\[1\].value

  - name: Tore
    data: entries
    modify: "x.stats\[5\].value + \\" : \\" + x.stats\[4\].value"

  - name: D
    data: entries
    modify: x.stats\[2\].value

  - name: Pkt
    data: entries
    modify: x.stats\[3\].value

strict: false

css:

 tbody td:nth-child(8)+: "width: 40px;"
 

Ich muss es wohl so belassen

Sobald ich was mit Logo versuche, kommt Konfiguartionsfehler

type: custom:flex-table-card
entities:
  include: sensor.team_tracker_bund2_tabelle
columns:
  - name: "#"
    data: entries
    modify: x.stats[10].value
  - name: Mannschaft
    data: entries
    modify: x.team.name
  - name: Sp
    data: entries
    modify: x.stats[0].value
  - name: S
    data: entries
    modify: x.stats[7].value
  - name: U
    data: entries
    modify: x.stats[6].value
  - name: "N"
    data: entries
    modify: x.stats[1].value
  - name: Tore
    data: entries
    modify: |-
      {
        x.stats[5].value +
        " : " +
        x.stats[4].value
      }
  - name: D
    data: entries
    modify: |-
      {
        x.stats[5].value -
        x.stats[4].value
      }
  - name: Pkt
    data: entries
    modify: x.stats[3].value
strict: true
css:
  tbody td:nth-child(8)+: "width: 40px;"

Ich versuche gerade das selbe, hast du schon eine Lösung gefunden? Da Energy Cottbus kein Logo bei ESPN.com hat kommt der Fehler. Wenn ich die Zeilen für Logo komplett weg lasse geht es zumindest ohne Logos.

Genau wie bei mir. Habe auch noch keine Lösung :smirking_face:

und so sieht der Code dafür aus:
so sieht der Code dafür aus.

bei mir funktioniert es

* type: custom:flex-table-card
  entities:
  include:

  * sensor.bund2_scoreboard
    css:
    thead th: >
    background-color: grey; text-align: left !important; font-weight: 300;
    border: 1px solid;
    thead th:first-child: ‘text-align: center !important; color: white;’
    thead th:nth-child(5): >
    background-color: lightgreen; color: green; border-color: lightgreen;
    text-align: center !important;
    thead th:nth-child(6): >
    background-color: yellow; color: orange; border-color: yellow;
    text-align: center !important;
    thead th:nth-child(7): >
    background-color: tomato; color: red; border-color: tomato; text-align:
    center !important;
    table+: |
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    th:
    background: rgba(255,255,255,0.08);
    padding: 8px 6px;
    font-weight: 600;
    text-align: center;
    td:
    padding: 6px;
    vertical-align: middle;
    tr:nth-child(even):
    background: rgba(255,255,255,0.03);
    columns:

  * name: L
    data: entries
    align: center
    modify: |
    x.team?.name === ‘Energie Cottbus’
    ? ‘![](https://community.simon42.com/local/bilder/cottbus.png)’
    : x.team?.logos?.\[0\]?.href
    ? ‘![](https://community.simon42.com/t/bekomme-einfach-2-bundesliga-nicht-in-der-flex-table-karte-angezeigt/88816/'%20+%20x.team.logos%5B0%5D.href%20+%20')’
    : ‘’

  * name: ‘’
    data: entries
    align: center
    modify: |
    x.stats?.find(s => s.name === ‘rank’)?.value ?? ‘-’

  * name: Verein
    data: entries
    modify: |
    x.team?.name == ‘Holstein Kiel’
    ? ‘Holstein Kiel’
    : x.team?.name == ‘St. Pauli’
    ? ‘St. Pauli’
    : x.team?.name == ‘VfL Wolfsburg’
    ? ‘VfL Wolfsburg’
    : x.team?.name == ‘Hannover 96’
    ? ‘Hannover 96’
    : x.team?.name == ‘TSV Eintracht Braunschweig’
    ? ‘Eintracht Braunschweig’
    : x.team?.name == ‘VfL Osnabruck’
    ? ‘VfL Osnabrück’
    : x.team?.name ?? ‘-’

  * name: Pkt
    data: entries
    align: center
    modify: |
    Number(x.stats?.find(s => s.name === ‘points’)?.value ?? 0)

  * name: S
    data: entries
    align: center
    modify: |
    x.stats?.find(s => s.name === ‘wins’)?.value ?? 0

  * name: U
    data: entries
    align: center
    modify: >
    x.stats?.find(s => s.name === ‘ties’)?.value ?? x.stats?.find(s =>
    s.name === ‘draws’)?.value ?? 0

  * name: ‘N’
    data: entries
    align: center
    modify: |
    x.stats?.find(s => s.name === ‘losses’)?.value ?? 0

  * name: Tore
    data: entries
    align: center
    modify: >
    (x.stats?.find(s => s.name === ‘goalsFor’)?.value ?? x.stats?.find(s
    => s.name === ‘pointsFor’)?.value ?? 0) + ‘:’ + (x.stats?.find(s =>
    s.name === ‘goalsAgainst’)?.value ?? x.stats?.find(s => s.name ===
    ‘pointsAgainst’)?.value ?? 0)

  * name: Diff
    data: entries
    align: center
    modify: >
    x.stats?.find(s => s.name === ‘goalDifference’)?.value ??
    x.stats?.find(s => s.name === ‘pointDifferential’)?.value ?? 0
    card_mod:
    style: >
    tbody tr:nth-child(-n+2) { border-left: 4px solid #2ecc71; }

    tbody tr:nth-child(3) { border-left: 4px solid #3498db; }

    tbody tr:nth-child(16) { border-left: 4px solid #e67e22; }

    tbody tr:nth-child(17),

    tbody tr:nth-child(18) { border-left: 4px solid #e74c3c; }

    tbody tr:nth-child(n+4):nth-child(-n+15) { border-left: 4px solid
    #7f8c8d; }

:crayon:by HarryP:
. Zusammenführung Doppelpost (bei Änderungen oder hinzufügen von Inhalten bitte die „Bearbeitungsfunktion“ anstatt „Antworten“ zu nutzen)
. Code-/Logzeilen formatiert (bitte immer in </> einbinden)
. s.a.: (Neues Update & Features - Hier in der Community 🫶)

Mahlzeit,

Gibt es auch schon den gesamten Spieltag visualisiert ?

Super, Danke :smiley:
Aber kannst Du deinen Code nochmal darstellen? Wenn ich ihn so kopiere, gibts Fehlermeldung.
Formatierung passt nicht.

Update: habe Ki bemüht und Code funktioniert nun auch bei mir.

3

Geil, Danke :+1:

Topp, toll, dass das geklappt hat - wenn ich kann, helfe ich gerne

mit der Frage kann ich nichts anfangen. Habe nur die Tabelle - somit nein

Der Screenshot ist ja nett, aber der Code der Karte wäre hilfreicher gewesen :wink:.

Bitteschön
Habe es noch um Spiele erweitert

type: custom:flex-table-card
entities:
  include: sensor.team_tracker_bund2_tabelle
columns:
  - name: L
    data: entries
    align: center
    modify: |
      let logo = x.team?.name === 'Energie Cottbus'
        ? 'https://community.simon42.com/local/bilder/cottbus.png'
        : x.team?.logos?.[0]?.href;
      logo ? '<img src="' + logo + '" width="24" height="24">' : ''
  - name: '#'
    data: entries
    align: center
    modify: >
      x.stats?.find(s => s.name === 'rank' || s.type === 'rank')?.value ?? 
      x.stats?.[10]?.value ?? '-'
  - name: Manschaft
    data: entries
    modify: >
      x.team?.name == 'Holstein Kiel' ? 'Holstein Kiel' : x.team?.name == 'St.
      Pauli' ? 'St. Pauli' : x.team?.name == 'VfL Wolfsburg' ? 'VfL Wolfsburg' :
      x.team?.name == 'Hannover 96' ? 'Hannover 96' : x.team?.name == 'TSV
      Eintracht Braunschweig' ? 'Eintracht Braunschweig' : x.team?.name == 'VfL
      Osnabruck' ? 'VfL Osnabrück' : x.team?.displayName ?? x.team?.name ?? '-'
  - name: Pkt
    data: entries
    align: center
    modify: >
      x.stats?.find(s => s.name === 'points' || s.type === 'points')?.value ?? 
      x.stats?.[3]?.value ?? 0
  - name: Sp
    data: entries
    modify: x.stats[0].value
  - name: S
    data: entries
    align: center
    modify: >
      x.stats?.find(s => s.name === 'wins' || s.type === 'wins')?.value ?? 
      x.stats?.[0]?.value ?? 0
  - name: U
    data: entries
    align: center
    modify: >
      x.stats?.find(s => s.name === 'ties' || s.name === 'draws')?.value ?? 
      x.stats?.[2]?.value ?? 0
  - name: 'N'
    data: entries
    align: center
    modify: >
      x.stats?.find(s => s.name === 'losses' || s.type === 'losses')?.value ?? 
      x.stats?.[1]?.value ?? 0
  - name: Tore
    data: entries
    align: center
    modify: >
      let gf = x.stats?.find(s => s.name === 'goalsFor' || s.name ===
      'pointsFor')?.value ?? x.stats?.[4]?.value ?? 0; let ga = x.stats?.find(s
      => s.name === 'goalsAgainst' || s.name === 'pointsAgainst')?.value ??
      x.stats?.[5]?.value ?? 0; gf + ':' + ga
  - name: Diff
    data: entries
    align: center
    modify: >
      x.stats?.find(s => s.name === 'goalDifference' || s.name ===
      'pointDifferential')?.value ??  x.stats?.[9]?.value ?? 0
card_mod:
  style: >
    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }

    thead th {
      background-color: grey;
      text-align: center !important;
      font-weight: 600;
      padding: 6px 4px;
    }

    thead th:first-child {
      text-align: center !important;
      color: white;
    }

    thead th:nth-child(6) {
      background-color: lightgreen;
      color: green;
      border-color: lightgreen;
    }

    thead th:nth-child(7) {
      background-color: yellow;
      color: orange;
      border-color: yellow;
    }

    thead th:nth-child(8) {
      background-color: tomato;
      color: red;
      border-color: tomato;
    }

    tbody td {
      padding: 4px 2px;
      vertical-align: middle;
    }

    tbody td img {
      vertical-align: middle;
      display: block;
      margin: 0 auto;
    }

    tbody tr:nth-child(even) {
      background: rgba(255, 255, 255, 0.03);
    }

    tbody tr:nth-child(-n+2) { border-left: 4px solid #2ecc71; }

    tbody tr:nth-child(3) { border-left: 4px solid #3498db; }

    tbody tr:nth-child(n+4):nth-child(-n+15) { border-left: 4px solid #7f8c8d; }

    tbody tr:nth-child(16) { border-left: 4px solid #e67e22; }

    tbody tr:nth-child(17), tbody tr:nth-child(18) { border-left: 4px solid
    #e74c3c; }

Leg dir im Team Tracker jede Manschaft als Entität an und bau es dir so auf.

{%- for team in integration_entities("teamtracker") -%}
  {%- if state_attr(team, "team_homeaway") == "home" -%}
    {{{"type": "custom:teamtracker-card",
      "entity": team }}},
  {%- endif -%}
{%- endfor -%}

Warum er mit Bayern - Union Berlin doppelt anzeigt, habe ich noch nicht raus :thinking:

Update:
Weiß jemand, wie ich die Nation League reinbekomme?

Als Integration habe ich nur diese Auswahl

und Deutschland aus dem World Cup ausgewählt wird mir im Dashboard nur das angezeigt

Hallo,
ich habe mal die 1. u. 2. Bundesliga ein wenig angepasst. Richtige Namen und Logo’s.

  1. Bundesliga:
type: custom:flex-table-card
entities:
  include: sensor.team_tracker_bund_tabelle
  align: left
columns:
  - name: Rang
    data: entries
    align: center
    modify: >
      x.stats?.find(s => s.name === 'rank' || s.type === 'rank')?.value ?? 
      x.stats?.[10]?.value ?? '-'
  - name: ''
    data: entries
    modify: '''<img src="'' + x.team.logos[0].href + ''"style="width: 42" height="42">'''
    align: center
  - name: Mannschaft
    data: entries
    modify: >
      x.team?.name == 'FC Cologne' ? '1. FC Köln' : x.team?.name == 'Bayern
      Munich' ? 'Bayern München' :x.team?.displayName ?? x.team?.name ?? '-'
  - name: Spiele
    data: entries
    align: left
    modify: x.stats[0].value
  - name: Pkt
    data: entries
    align: left
    modify: >
      x.stats?.find(s => s.name === 'points' || s.type === 'points')?.value ?? 
      x.stats?.[3]?.value ?? 0
  - name: S
    data: entries
    align: left
    modify: >
      x.stats?.find(s => s.name === 'wins' || s.type === 'wins')?.value ?? 
      x.stats?.[0]?.value ?? 0
  - name: U
    data: entries
    align: left
    modify: >
      x.stats?.find(s => s.name === 'ties' || s.name === 'draws')?.value ?? 
      x.stats?.[2]?.value ?? 0
  - name: 'N'
    data: entries
    align: left
    modify: >
      x.stats?.find(s => s.name === 'losses' || s.type === 'losses')?.value ?? 
      x.stats?.[1]?.value ?? 0
  - name: Tore
    data: entries
    modify: |-
      {
        x.stats[5].value +
        " : " +
        x.stats[4].value
      }
  - name: Tordiff.
    data: entries
    modify: x.stats[2].value
uix:
  style: >
    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 17px;
    }

    thead th {
      background-color: darkslategray;
      text-align: left !important;
      font-weight: 600;
      padding: 6px 4px;
    }

    thead th:first-child {
      text-align: center !important;
      color: white;
    }

    thead th:nth-child(6) {
      background-color: darkslategray;
      color: lime;
      border-color: lightgreen;
    }

    thead th:nth-child(7) {
      background-color: darkslategray;
      color: orange;
      border-color: yellow;
    }

    thead th:nth-child(8) {
      background-color: darkslategray;
      color: red;
      border-color: tomato;
    }

    tbody td {
      padding: 4px 2px;
      vertical-align: middle;
    }

    tbody td img {
      vertical-align: middle;
      display: block;
      margin: 0 auto;
    }

    tbody tr:nth-child(even) {
      background: rgba(60,179,113,0.05);
    }

    tbody tr:nth-child(-n+4) { border-left: 4px solid rgba(28,134,238,0.7); }

    tbody tr:nth-child() { border-left: 4px solid #3498db; }

    tbody tr:nth-child(5):nth-child(-n+15) { border-left: 4px solid darkorange;
    }

    tbody tr:nth-child(6):nth-child(-n+15) { border-left: 4px solid darkgreen; }
    tbody tr:nth-child(16) { border-left: 4px solid #e67e22; }

    tbody tr:nth-child(17), tbody tr:nth-child(18) { border-left: 4px solid
    #e74c3c; }

  1. Bundesliga:
type: custom:flex-table-card
entities:
  include: sensor.team_tracker_bund2_tabelle
  align: left
columns:
  - name: Rang
    data: entries
    align: center
    modify: >
      x.stats?.find(s => s.name === 'rank' || s.type === 'rank')?.value ?? 
      x.stats?.[10]?.value ?? '-'
  - name: ''
    data: entries
    modify: '''<img src="'' + x.team.logos[0].href + ''"style="width: 42" height="42">'''
    align: left
  - name: Mannschaft
    data: entries
    modify: >
      x.team?.name == 'TSV Eintracht Braunschweig' ? 'BTSV' :
      x.team?.displayName ?? x.team?.name ?? '-'
  - name: Spiele
    data: entries
    align: left
    modify: x.stats[0].value
  - name: Pkt
    data: entries
    align: left
    modify: >
      x.stats?.find(s => s.name === 'points' || s.type === 'points')?.value ?? 
      x.stats?.[3]?.value ?? 0
  - name: S
    data: entries
    align: left
    modify: >
      x.stats?.find(s => s.name === 'wins' || s.type === 'wins')?.value ?? 
      x.stats?.[0]?.value ?? 0
  - name: U
    data: entries
    align: left
    modify: >
      x.stats?.find(s => s.name === 'ties' || s.name === 'draws')?.value ?? 
      x.stats?.[2]?.value ?? 0
  - name: 'N'
    data: entries
    align: left
    modify: >
      x.stats?.find(s => s.name === 'losses' || s.type === 'losses')?.value ?? 
      x.stats?.[1]?.value ?? 0
  - name: Tore
    data: entries
    modify: |-
      {
        x.stats[5].value +
        " : " +
        x.stats[4].value
      }
  - name: Tordiff.
    data: entries
    modify: x.stats[2].value
uix:
  style: >
    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 17px;
    }

    thead th {
      background-color: Darkslategray;
      text-align: left !important;
      font-weight: 600;
      padding: 6px 4px;
    }

    thead th:first-child {
      text-align: center !important;
      color: white;
    }

    thead th:nth-child(6) {
      background-color: darkslategray;
      color: lime;
      border-color: lightgreen;
    }

    thead th:nth-child(7) {
      background-color: darkslategray;
      color: orange;
      border-color: yellow;
    }

    thead th:nth-child(8) {
      background-color: darkslategray;
      color: red;
      border-color: tomato;
    }

    tbody td {
      padding: 4px 2px;
      vertical-align: middle;
    }

    tbody td img {
      vertical-align: middle;
      display: block;
      margin: 0 auto;
    }

    tbody tr:nth-child(even) {
      background: rgba(60,179,113,0.05);
    }

    tbody tr:nth-child(-n+2) { border-left: 4px solid #2ecc71; }

    tbody tr:nth-child(3) { border-left: 4px solid #3498db; }

    tbody tr:nth-child(n+4):nth-child(-n+15) { border-left: 4px solid #7f8c8d; }

    tbody tr:nth-child(16) { border-left: 4px solid #e67e22; }

    tbody tr:nth-child(17), tbody tr:nth-child(18) { border-left: 4px solid
    #e74c3c; }

Die beiden Rest-Api 's sehen so aus:

  - resource: https://site.web.api.espn.com/apis/v2/sports/soccer/ger.1/standings?type=0&level=0
    scan_interval: 7350 # 1 Tag // 3600sek = 1 Stunde
    sensor:
      - name: team_tracker_bund_tabelle
        value_template: "{{ now() }}"
        json_attributes_path: "$['children'][0]['standings']"
        json_attributes:
          - entries
          
  - resource: https://site.web.api.espn.com/apis/v2/sports/soccer/ger.2/standings?type=0&level=0
    scan_interval: 7250 # 1 Tag // 3600sek = 1 Stunde
    sensor:
      - name: team_tracker_bund2_tabelle
        value_template: "{{ now() }}"
        json_attributes_path: "$['children'][0]['standings']"
        json_attributes:
          - entries          

Sieht toll aus, Danke :+1: :slightly_smiling_face: