Formula One Card

Yes I know, but I want to have more freedom in how I make my card, and that is possible with separate sensors. I also think your cards are great, only I like to have more freedom.

Oke thnx, I will keep an eye on it and share my experiences there.

If you search back in this thread you can find examples of how to use the jolpi.ca api directly as sensor. You could use that for historical data

Ok thanks, I’ll look into that

This is my formula 1 card, and when I click it, it opens a pop-up with the Next Race, Standings and next 5 races as this fits perfectly on the screen of my 11" tablet:


5 Likes

The new version (1.12.4) now can also use the weather sensor of @Stimo 's F1 Sensor :slight_smile:

3 Likes

Looks great, have you done something special to show “Until Practice 1”?
I have 1 countdown card for all sessions but it doesn’t identify what the next session type is.

You might want to read the readme :slight_smile:

I just went over it twice and I’m no closer to seeing what I’ve apparently missed.

You need to use the countdown card_type and specify which events you want to have the timer for in the countdown_type.
Here is how my card is configured:

type: custom:formulaone-card
card_type: countdown
f1_font: true
show_raceinfo: false
visibility:
  - condition: state
    entity: sensor.formula_1
    state: PRE
countdown_type:
  - practice1
  - practice2
  - practice3
  - qualifying
  - sprint
  - race

Thanks, I had all of the countdown types on the 1 line separated by commas, as Marco said way back on March 6 2024. When I put each on their own line it shows the session type.
Not sure if the readme spells that out but if it does I missed it.

Oh yeah you are right. Sorry about that

Is there a way to get data for all the sessions of the weekend so I can send them to my phone at the beginning of the week?

I would like these data countdown_type:

  • practice1
  • practice2
  • practice3
  • qualifying
  • sprint
  • race

sent to my phone

Probably not with this card but look at the Integration mentioned a few post above as that might be what you want…

Formula 1 Racing sensor on here or GitHub - Nicxe/f1_sensor: A Home Assistant Custom Integration that provides information about the next Formula 1 race and the full season calendar

1 Like

Exactky as @Gav_in says, you can use the integration, there is an example how to send a mobil notification that you can tweek to your needs

2 Likes

Yes exactly. People probably still dont know the difference between an integration and a card

2 Likes

I’ll try it! Thank you very much!

1 Like

Can I ask you la condivisione del codice. Non riesco a fare una dashboard accattivante e funzionale per il mio tablet.
Grazie

type: custom:formulaone-card
card_type: countdown
title: "Prossimo Appuntamento:"
f1_font: true
show_raceinfo: true
show_weather: true
weather_options:
  source: sensor.f1_weather
  unit: metric
countdown_type:
  - practice1
  - practice2
  - practice3
  - qualifying
  - sprint
  - race
translations:
  practice1: FP1
  practice2: FP2
  practice3: FP3
  sprint: Sprint
  racetime: Gara
  qualifying: Qualifiche
  endofseason: Stagione Finita!
  days: " giorni"
  until: null

Why can’t you see the weather? What am I wrong? Sorry, I also tried to help me with other examples, but I don’t understand what the problem is.

You are missing the entity under the weather config part. This has to be the f1sensor entity that holds the weather data

1 Like