Skip to main content

Next Race

Next race info.

Standard entity ID sensor.f1_next_race

Season dataYour IDs may differ

sensor.f1_next_race - Schedule for the next race; state is the race start timestamp (ISO‑8601).

State​

  • ISO‑8601 timestamp (UTC) of the race start, or unknown if not available.

Attributes​

AttributeTypeDescription
seasonstringSeason year
roundstringRound number
race_namestringGrand Prix name
race_datestring or nullPublished race date (YYYY-MM-DD), including when its start time is unknown
schedule_sourcestringjolpica for API data or official_calendar_fallback for the temporary 2027 opener
race_start_estimatedbooleantrue when the specific 2027 opener uses the provisional timestamp described below; unknown times for other races do not create estimates
schedule_source_urlstring or nullOfficial calendar source for the fallback; otherwise null
scheduled_lapsnumber or nullPlanned race laps; null when Jolpica has no value or its alpha data is unavailable
sprint_scheduled_lapsnumber or nullPlanned sprint laps; null when there is no sprint or no alpha value is available

Circuit and location​

AttributeTypeDescription
race_urlstringErgast race URL
circuit_idstringCircuit identifier
circuit_namestringCircuit name
circuit_urlstringCircuit URL
circuit_latstringLatitude
circuit_longstringLongitude
circuit_localitystringCity/area
circuit_countrystringCountry
country_codestringISO country code (e.g., "GB", "IT", "US")
country_flag_urlstringURL to country flag image
circuit_map_urlstringURL to official circuit map image
circuit_outline_urlstringURL to circuit outline image when available
circuit_timezonestringLocal timezone (best effort)

Race and session timestamps​

Start attributes are null when a valid start time has not been published. A date alone does not become midnight. The corresponding first_practice_date, second_practice_date, third_practice_date, qualifying_date, sprint_qualifying_date, and sprint_date attributes retain a published date, or null when none is available.

AttributeTypeDescription
race_start_utcstringRace start (UTC ISO‑8601)
race_startstringRace start in Home Assistant local time
race_start_localstringRace start in circuit local time
first_practice_start_utcstringFP1 start (UTC ISO‑8601)
first_practice_startstringFP1 start in Home Assistant local time
first_practice_start_localstringFP1 start in circuit local time
second_practice_start_utcstringFP2 start (UTC ISO‑8601)
second_practice_startstringFP2 start in Home Assistant local time
second_practice_start_localstringFP2 start in circuit local time
third_practice_start_utcstringFP3 start (UTC ISO‑8601)
third_practice_startstringFP3 start in Home Assistant local time
third_practice_start_localstringFP3 start in circuit local time
qualifying_start_utcstringQualifying start (UTC ISO‑8601)
qualifying_startstringQualifying start in Home Assistant local time
qualifying_start_localstringQualifying start in circuit local time
sprint_qualifying_start_utcstringSprint Qualifying/Shootout start (UTC ISO‑8601)
sprint_qualifying_startstringSprint Qualifying/Shootout start in Home Assistant local time
sprint_qualifying_start_localstringSprint Qualifying/Shootout start in circuit local time
sprint_start_utcstringSprint start (UTC ISO‑8601)
sprint_startstringSprint start in Home Assistant local time
sprint_start_localstringSprint start in circuit local time

The planned lap counts come from Jolpica's alpha session data. They describe the scheduled distance, which can differ from the number of laps actually completed.

When the start time is unknown​

The sensor state is unknown, while the race name, circuit and published dates remain available. The card's schedule shows the date with Start time not published and leaves the countdown empty. A timestamp automation cannot use an invented midnight start. A genuinely published midnight remains a valid start time.

An untimed race stays selected throughout its published day in the circuit timezone. If that timezone is unknown, selection waits until the date has passed in every timezone. Selecting the event does not assert that it has started or that results are available.

Between the 2026 and 2027 seasons​

When the known 2026 schedule has no remaining races and Jolpica has not yet supplied an upcoming race, F1 Sensor temporarily uses the 2027 season opener. If the final 2026 race has no start time, the fallback waits until three hours after that race's UTC date has ended. This fallback also covers an empty 2027 calendar after New Year. A failed API request alone does not activate it.

The fallback identifies the Bahrain Grand Prix at Bahrain International Circuit, Sakhir, Bahrain, on 14 March 2027. Formula 1 published the official 2027 calendar on 16 September 2026.

Provisional start time

The fallback uses 15:00 UTC on 14 March 2027, or 18:00 in Bahrain, to keep timestamp-based dashboards and countdowns working. This is a provisional time chosen by the integration. Formula 1's Bahrain schedule lists the race time as TBC as of 1 November 2026. Check race_start_estimated before using this timestamp in an automation that needs an exact start time.

While the fallback is active, schedule_source is official_calendar_fallback and race_start_estimated is true. The date, location, race timestamp, track time, and Race Week countdown remain available. Session times and planned lap counts remain unknown until supplied by Jolpica.

An upcoming race from Jolpica takes priority as soon as it arrives through the normal schedule refresh. The schedule cache can retain data for up to 24 hours; the fallback adds no extra API polling. It expires three hours after its provisional race start and does not provide a full 2027 season calendar, results, or live timing.

If Jolpica supplies the Bahrain opener on 14 March 2027 without a start time, the sensor keeps the provisional 15:00 UTC timestamp. Its schedule_source becomes jolpica and schedule_source_url becomes null, while race_start_estimated remains true. A start time supplied by Jolpica replaces the provisional time and clears the estimated flag. Other races with a date but no valid API start time have an unknown timestamp; they no longer default to 00:00 UTC.