Closed thewolf-oz closed 2 years ago
Thnx for the headsup. Ive put this in the card we have https://github.com/marcokreeft87/formulaone-card. I think at a certain point we need to stop with support on the markdown because its not part of the integration
Great work! Have just added this through HACS
One point of note is the country returned for US GP is "USA" while Countries of the World use "United-States-of-America" is used in the image URL
I've injected an extra IF statement to allow for this:
{% set nr = states.sensor.formula_one_sensor_races.attributes.next_race %} {% if not(nr == None) %} {% if nr.Circuit.Location.country == "USA" %}
{{ nr.round }} : {{ nr.raceName }}