Formula One Card

Can you post the feat request here? Issues · marcokreeft87/formulaone-card · GitHub

1 Like

Upcoming dilemma for you haha. I added the option the show the race info in the countdown card. Takes less space than using a seperate next race card

Can’t wait to see it. :grinning: But please keep the current countdown card. Maybe you can remove the seconds from the card.

Done :+1:.

You might want to update the repo description as well, as that still implies you have to use the component.

This description is used in HACS as well:

1 Like

Ah missed that one. Thnx!

2 Likes

With the Cupertino icon integration and the Free SVG site, icons for the tabs in color.

Better and better. Thank you for your work.

1 Like

0.6.0 brings team logos - and that looks great!

image
image

Thanks much @marcokreeft87 !

3 Likes

for what its worth (seen lots of other nice layouts now), the cards seperately in a stack card now give proper behavior.

    cards:
      - type: horizontal-stack
        cards:
          - type: custom:formulaone-card
            card_type: countdown
            date_locale: nl
      - type: horizontal-stack
        cards:
          - type: custom:formulaone-card
            card_type: next_race
            sensor: sensor.formula_one_sensor_races
            title: Next Race
            date_locale: nl
            image_clickable: false
      - type: horizontal-stack
        cards:
          - type: custom:formulaone-card
            card_type: driver_standings
            sensor: sensor.formula_one_sensor_drivers
            title: Driver Standings
      - type: horizontal-stack
        cards:
          - type: custom:formulaone-card
            card_type: constructor_standings
            sensor: sensor.formula_one_sensor_constructors
            title: Constructor Standings

this now gives normal responsive behavior (it didnt at first, can’t pin down what change caused this, maybe a generic HA frontend thing)

This is just weird yaml haha.
Maybe caching was the issue?

All the horizontal-stack do nothing in your yaml file. You will have the same result whit this code.


cards:

    - type: custom:formulaone-card
      card_type: countdown
      date_locale: nl

    - type: custom:formulaone-card
      card_type: next_race
      title: Next Race
      date_locale: nl
      image_clickable: false
 
    - type: custom:formulaone-card
      card_type: driver_standings
      title: Driver Standings

    - type: custom:formulaone-card
      card_type: constructor_standings
      title: Constructor Standings

Mty point was about the responsiveness of the cards… somehow the formula one cards didnt adhere to responsiveness (as described in the early posts)

Do you mean the dividing of which card goes where?

Hey nice configuration! How did the merge of card_type: countdown and card_type: next_race, because I can’t find a way and I have this:


Beside that, Can i translate the Season and Race on card_type: results ? Because I have translate everything but non these.

Thanks!

I send pm! :blush:

Use the show_raceinfo: true parameter in the countdown card for merging countdown and next_race. Remove the next_race card and move the translation to the countdown card.

Use raceheader and seasonheader for translate the Season and Race on card_type: results

2 Likes

Just so you know for next time, and I say this with no intention to be mean. There is a Readme on the github page of the card.

2 Likes

Thanks, I’m new so still lerning… hehe

Thanks for help! You’re awesome!

1 Like

Hi! Great F1 page! Are you willing to share the code?