Formula One Card

Ok, I’ll shut up then :smiley:

There is a new kind of card available : Results.
Check it out!

3 Likes

Fabulous!!!

Added in 0.5.0 , the countdown card!

3 Likes

It doesn’t work for me
image

is there any way to use the countdown card to start an automation ? Like, 1 hour before the race.

same here, getting the same error. I’m running version 0.5 My apologies. I was still running 0.35, HACS showed the available version.

Now it works.

0.5.0 works fine here. :wink:

Hi, Is it possible to merge the last_result and results cards and display the last race results automatically in the results card?

Yeah probably. Let me try and fix that for you :slight_smile:

1 Like

HACS caches a lot. Force the update by using “Update information”

Unfortunately no, because its a frontend card it can’t be used like that. Well it can with a sort of hack but not in a realiable way.
What you CAN do is use this Formula One Card - #91 by marcokreeft87 and use that sensor to trigger an automation

Check out v0.5.1 @ValMarDav. Last result card is kinda obsolete now, but I will still keep it in for the people who use it

Wow! Great job. :grinning:

Thanks very much

2 Likes

Can you share your yaml?

Here’s the yaml, but it’s a page designed for use in the Dwains dashboard. It will require adjustments to work without the dashboard.



2 Likes

Got it like this now

cards:
      - type: vertical-stack
        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: true
      - type: vertical-stack
        cards:
          - type: custom:tabbed-card
            options: {}
            tabs:
              - card:
                  type: custom:formulaone-card
                  card_type: results
                  date_locale: nl
                  location_clickable: true
                attributes:
                  icon: mdi:view-list
              - card:
                  type: custom:formulaone-card
                  card_type: schedule
                  date_locale: nl
                  previous_race: hide
                  location_clickable: true
                attributes:
                  icon: mdi:calendar
              - card:
                  type: custom:formulaone-card
                  card_type: constructor_standings
                attributes:
                  icon: mdi:car-brake-abs
              - card:
                  type: custom:formulaone-card
                  card_type: driver_standings
                  standings:
                    show_flag: true
                    show_team: true
                attributes:
                  icon: mdi:racing-helmet

3 Likes

That’s fine, I didn’t know the tabbed-card card. Less code to do the same thing.

1 Like

Oeh, I love how it looks with the tabbed card!

Feat request: would it be possible to also have the team icons in the constructors overview, just like the flag of the driver?

And possible, configurable, also in the other overviews?

My new page. :grinning:

1 Like