Can you post the feat request here? Issues · marcokreeft87/formulaone-card · GitHub
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. But please keep the current countdown card. Maybe you can remove the seconds from the card.
Done .
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:
Ah missed that one. Thnx!
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!
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
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.
Thanks, I’m new so still lerning… hehe
Thanks for help! You’re awesome!
Hi! Great F1 page! Are you willing to share the code?