Skip to main content

Live Data

By enabling live data when configuring the F1 Sensor, Home Assistant can react to live data from an ongoing session such as practice, qualifying, or race. These entities update shortly before, during, and shortly after a session. Outside session times, they will not update. This means that a sensor may show as unknown or display the last known state even when no session is active. For example, the Track Status entity often remains CLEAR between race weekends.

F1 Live Timing API

The data for these entities comes from the F1 Live Timing API, which is unofficial. There is no known official documentation, and the API may change without prior notice.


Entities Summary

EntityInfo
sensor.f1_session_statusCurrent session phase
sensor.f1_current_sessionCurrent ongoing session, like Practice 1, Qualification, Race
sensor.f1_track_statusCurrent track status
binary_sensor.f1_safety_carSafety Car (SC) or Virtual Safety Car (VSC) is active
sensor.f1_race_lap_countCurrent race lap number
sensor.f1_track_weatherCurrent on-track weather (air temp, track temp, rainfall, wind speed, etc.)
sensor.f1_driver_listShow list and details on all drivers, including team color, headshot URL etc

Entities

All of these entities update only in relation to an active session, typically starting less than an hour before and continuing for a few minutes after the session ends.

Session Status

Semantic session lifecycle based on the live Session Status. The pre state usually occurs 60–15 minutes before a session begins. The sensor goes live when the session officially starts, for races, this means lights out, not the beginning of the formation lap.

State (enum)

  • One of: pre, live, suspended, break, finished, finalised, ended.

Typical transitions
pre → live → suspended ↔ live → finished → finalised → ended
After finalised or ended, logic resets and next session begins at pre.

Attributes

AttributeTypeDescription
(none)No extra attributes

Current Session

Human-readable label for the active session. Only shows a state when sensor.f1_session_status is live

State (enum/string)

  • Practice 1, Practice 2, Practice 3, Qualifying, Sprint Qualifying, Sprint, Race, or unknown when inactive (e.g., outside live/eligible windows).

Attribute

AttributeTypeDescription
typestringRaw Type from feed (Practice/Qualifying/Race)
namestringRaw Name (may carry “Sprint”/“Sprint Qualifying”)
numbernumberSession number (e.g., 1/2/3 for practice)
session_partnumberDetected session part (e.g., 1/2/3 for Q1/Q2/Q3) when available
meeting_keynumberMeeting key
meeting_namestringMeeting name
meeting_locationstringLocation
meeting_countrystringCountry
circuit_short_namestringCircuit short name
gmt_offsetstringEvent GMT offset
startstringSession start ISO‑8601
endstringSession end ISO‑8601
live_statusstringRaw SessionStatus message (Started, Finished, etc.)
activebooleanTrue when live running is active
last_labelstringLast resolved label when not active

Track Status

Current track status from the live feed. The state is often CLEAR even when no session is active.

State (enum)

  • One of: CLEAR, YELLOW, VSC, SC, RED.

Attributes

AttributeTypeDescription
(none)No extra attributes

Safety Car

On while the Safety Car or Virtual Safety Car is in effect.

State (on/off)

  • on when track status is SC or VSC; otherwise off.

Attributes

AttributeTypeDescription
track_statusstringNormalized track status (CLEAR, YELLOW, VSC, SC, RED)

Race Lap

Current lap and total laps during the race.

State

  • Integer: current lap, or unknown if none available or stale cleared.

Attributes

AttributeTypeDescription
total_lapsnumberTotal laps when known; preserved across updates
Info

This sensor is active only during sprint and race sessions.


Track Weather

Live trackside weather from F1 Live Timing. Updates only in direct connection with a session, and remains unchanged otherwise.

State

  • Number: air temperature (°C), or unknown.

Attributes

AttributeTypeDescription
air_temperaturenumberAir temperature (°C)
air_temperature_unitstring“celsius”
humiditynumber% RH
humidity_unitstring“%”
pressurenumberhPa
pressure_unitstring“hPa”
rainfallnumbermm
rainfall_unitstring“mm”
track_temperaturenumberTrack temperature (°C)
track_temperature_unitstring“celsius”
wind_speednumberm/s
wind_speed_unitstring“m/s”
wind_from_direction_degreesnumberWind direction (degrees)
wind_from_direction_unitstring“degrees”
measurement_inferredbooleanTrue if payload had no explicit timestamp
INFO

Updates approximately every minute during an active session.


Driver List

Live roster of drivers with identity and team information. for the session

State

  • Integer: number of drivers in the list.

Attributes

AttributeTypeDescription
driverslist[ { racing_number, tla, name, first_name, last_name, team, team_color, headshot_small, headshot_large, reference } ]