Skip to main content

Championship Prediction (Drivers)

Drivers championship prediction (P1 and list) (Replay Mode or F1TV Auth live timing).

Standard entity ID sensor.f1_championship_prediction_drivers

F1TV Auth / replayYour IDs may differ

Replay Mode or F1TV Auth live timing

This entity stays registered in Home Assistant. It updates in Replay Mode and can update during live sessions when F1TV Auth is paired with a valid token and live prediction data is available.

Predictions are shown only for an identified Race or Sprint. Practice, qualifying, Sprint Qualifying, Sprint Shootout and testing do not publish predictions. If session metadata is missing, the value remains unknown until both the session and a fresh prediction are received. Earlier predictions are not reused after a session change or reconnection.

Predicted Drivers Championship winner and points table.

State​

  • Predicted P1 driver TLA, or unknown when not available.

Example

VER

Attributes​

AttributeTypeDescription
predicted_driver_p1objectThe driver currently predicted to lead the championship
driversobjectMap of all drivers keyed by racing number
last_updatestringISO-8601 timestamp of the last prediction update
session_keystring or nullSession identity supplied by timing metadata
session_typestring or nullrace, sprint, other, or null when unknown
prediction_statusstringwaiting_for_session, waiting_for_prediction, not_applicable, or ready; separate from authentication and source availability

predicted_driver_p1 object​

FieldTypeDescription
racing_numberstringCar number
tlastringThree-letter abbreviation
pointsnumberPredicted final points
entryobjectFull entry data from the feed

drivers entries (keyed by racing number)​

FieldTypeDescription
RacingNumberstringCar number
CurrentPositionnumberCurrent championship position
PredictedPositionnumberPredicted final position
CurrentPointsnumberCurrent points total
PredictedPointsnumberPredicted final points

Examples​

JSON Structure Example
{
"predicted_driver_p1": {
"racing_number": "1",
"tla": "VER",
"points": 450,
"entry": {
"RacingNumber": "1",
"CurrentPosition": 1,
"PredictedPosition": 1,
"CurrentPoints": 350,
"PredictedPoints": 450
}
},
"drivers": {
"1": {
"RacingNumber": "1",
"CurrentPosition": 1,
"PredictedPosition": 1,
"CurrentPoints": 350,
"PredictedPoints": 450
},
"44": {
"RacingNumber": "44",
"CurrentPosition": 2,
"PredictedPosition": 2,
"CurrentPoints": 280,
"PredictedPoints": 380
},
"4": {
"RacingNumber": "4",
"CurrentPosition": 3,
"PredictedPosition": 3,
"CurrentPoints": 260,
"PredictedPoints": 350
}
},
"last_update": "2025-06-15T14:32:45Z"
}
Jinja2 Template Examples

Get predicted champion:

{% set p1 = state_attr('sensor.f1_championship_prediction_drivers', 'predicted_driver_p1') or {} %}
{% if p1 %}
Predicted champion: {{ p1.tla }} with {{ p1.points }} points
{% endif %}

Show points gain prediction for a driver:

{% set drivers = state_attr('sensor.f1_championship_prediction_drivers', 'drivers') or {} %}
{% set ver = drivers.get('1') %}
{% if ver %}
{% set gain = ver.PredictedPoints - ver.CurrentPoints %}
VER: {{ ver.CurrentPoints }} -> {{ ver.PredictedPoints }} (+{{ gain }})
{% endif %}

List drivers predicted to gain positions:

{% set drivers = state_attr('sensor.f1_championship_prediction_drivers', 'drivers') or {} %}
{% for num, d in drivers.items() if d.PredictedPosition < d.CurrentPosition %}
#{{ num }}: P{{ d.CurrentPosition }} -> P{{ d.PredictedPosition }}
{% endfor %}

Calculate predicted gap to leader:

{% set p1 = state_attr('sensor.f1_championship_prediction_drivers', 'predicted_driver_p1') or {} %}
{% set drivers = state_attr('sensor.f1_championship_prediction_drivers', 'drivers') or {} %}
{% set ham = drivers.get('44') %}
{% if p1 and ham %}
Gap to leader: {{ p1.points - ham.PredictedPoints }} points
{% endif %}