Formula One Card

Hi Sylwester can i have your code ?

2 Likes

Fantastic work…

Out off the topic… is there something like this to motogp?

Thanks

Diogo Reis

1 Like

Not that I know off

1 Like

Hi,
Just tried your Yaml and the driver overview including the images loads fine which is awsome!
The only thing which isn’t working is the “Formula1-Regular” and “Formula1-Bold” fonts.

What do I have to do to make those work properly as well?
(Fyi: the F1 font does work in the Formula One Card configuration from Marco Kreeft)

Thanks in advance!

For the F1 card, the font is embedded…for the yaml approach you’re replying to you need to have the font “installed” or available in Home Assistant. That was my experience anyway…there are examples in the forum here on how to add/make available any font in your install…I’ll have a look for the post I followed later and update this post but just in case you wanted to have a look yourself :+1:t2:

Edit: think this was the forum post I followed…

May be a better way but this worked for me :sunglasses:

Why would you even try the yaml approach if the card has the font build in?

2 Likes

What a great card! Being an F1 fan this is great to have close by - especially the lookup of prior race results via dropdown… It appears the data goes to about year 2000…

Integrated into the mushroom mobile dashboard :slight_smile:

Thanks again

2 Likes

Should go back to 1950, but some things wont work because of the regulation changes and such

Hi everyone. Anybody know, why drivers standings are still not updating?

It is… :wink:

afbeelding

@BebeMischa @trybikowski I think the caching is still active. @trybikowski Do you get any javascript errors?

@marcokreeft87 Thanks for feedback. I don’t any errors. It’s something strange, because if I open HA in web browser (cloudflared) everything it’s fine :thinking:

Thats not strange. Thats cache :slight_smile:

next race is Imola - but the map shown is actually Monza:

Is fixed now

1 Like

@marcokreeft87 is powered by a rocket engine, i swear! :slight_smile:

1 Like

Couldn’t help visualizing
image

2 Likes

what wallpaper are you using?

Hi everyone

I love the look of this card, and with the whole family being F1 crazy thought it would be a good idea to add it to my HA… I’ve now been looking at this for nearly 2 hours and keep getting the following “error getting (value)” errors:

The yaml I am using is as follows:

type: horizontal-stack
cards:
  - type: vertical-stack
    cards:
      - type: custom:formulaone-card
        card_type: next_race
        sensor: sensor.formula_one_sensor_races
        title: Next Race
        date_locale: en
        image_clickable: false
      - type: custom:formulaone-card
        card_type: last_result
        sensor: sensor.formula_one_sensor_last_result
        title: Last Result
  - type: vertical-stack
    cards:
      - type: custom:formulaone-card
        card_type: driver_standings
        sensor: sensor.formula_one_sensor_drivers
        title: Driver Standings
      - type: custom:formulaone-card
        card_type: constructor_standings
        sensor: sensor.formula_one_sensor_constructors
        title: Constructor Standings
  - type: vertical-stack
    cards:
      - type: custom:formulaone-card
        card_type: schedule
        sensor: sensor.formula_one_sensor_races
        title: Schedule
        date_locale: en

I am running Home Assistant and HACS in containers on my synology NAS and would appreciate any assistance I can get please!

1 Like