Skip to main content

Race Lap

Follow Race or Sprint order with gaps, tyres, pit counts and lap times. Switch between the interval to the car ahead and the gap to the leader without leaving the table.

Race Lap card showing its dashboard layout
Example Race Lap layout. Appearance depends on your session, version and display options.Select the image to open it full size.

Availability

Race or Sprint / Replay. Enable Driver Positions and Current Session. Race Lap Count, Session Status, Driver List and Current Tyres add race context. Pit-stop detail can require optional F1TV Auth during live sessions or archived replay data. Public timing still provides the core race table.

Add the card

  1. Open your dashboard, select Edit dashboard, then Add card.
  2. Search for F1 and select the Race Lap card.
  3. Select Driver Positions under Data Sources. Keep the gap toggle visible and start with Ahead. Enable sectors only when the card has enough width; choose the pit-stop source if you want pit counts.
  4. Select Save.

If the card is missing from the picker, follow Card installation. With more than one F1 Sensor entry, use the sources from the same entry; see Entity selection.

Minimal YAML

Use this in a manual dashboard card. Replace any entity ID with the one in your installation if it differs.

type: custom:f1-race-lap-card
positions_entity: sensor.f1_driver_positions
theme_mode: auto

Use the card

The gap toggle changes the reference for the gap column. Optional sectors follow the same lap-aligned behavior as the qualifying and practice cards. A blank pit value can indicate missing enhanced data while the rest of the table remains useful.

Configuration

Data sources

The defaults below are the card’s fallback values. Automatic discovery connects standard sources to the selected integration entry, including renamed entity IDs. See Entity selection.

OptionDefaultDescription
positions_entitysensor.f1_driver_positionsDriver Positions for timing and running order. Select the entity from your F1 Sensor entry.
lap_count_entitysensor.f1_race_lap_countRace Lap Count for completed and total laps. Select the entity from your F1 Sensor entry.
session_entitysensor.f1_current_sessionCurrent Session for session type and context. Select the entity from your F1 Sensor entry.
session_status_entitysensor.f1_session_statusSession Status for active/live/replay context. Select the entity from your F1 Sensor entry.
drivers_entitysensor.f1_driver_listDriver List for names, teams and driver detail. Select the entity from your F1 Sensor entry.
tyres_entitysensor.f1_current_tyresCurrent Tyres for compound and stint detail. Select the entity from your F1 Sensor entry.
pitstops_entitysensor.f1_pitstopsPit Stops for stop counts and available timings. Select the entity from your F1 Sensor entry.
auth_status_entitysensor.f1_f1tv_token_statusF1TV token status entity used for enhanced-data notices.
no_spoiler_entityswitch.f1_no_spoiler_modeEntity whose on state enables spoiler protection. See No Spoiler Mode.

Display and behavior

OptionDefaultDescription
theme_modedarkdark, light or auto; auto follows Home Assistant. See Appearance.
titleRace LapCard title
show_headertrueShow the card header
show_table_headertrueShow column labels
show_positiontrueShow current position
show_team_logotrueShow team logo
show_full_namefalseShow full driver names
show_statustrueShow inline driver status
show_gaptrueShow gap or interval
gap_modeaheadahead for the interval to the car ahead, or leader for the gap to P1.
show_gap_toggletrueShow the gap mode toggle
show_tyretrueShow tyre compound
show_tyre_agetrueShow tyre stint age
show_pit_counttrueShow number of pit stops
show_sectorsfalseShow optional S1, S2, and S3 live sector columns
show_last_laptrueShow last lap time
show_fastest_laptrueShow personal fastest lap
show_timing_indicatorsfalseHighlight timing states
team_logo_stylecolorcolor or white for team logos.
show_availability_noticetrueShow informational enhanced-data notices. Expired, invalid or rejected authentication warnings stay visible.
font_stylewidewide, balanced or system. See Typography.
color_overall_fastestCard paletteOptional CSS color for overall-fastest timing cells.
color_personal_fastestCard paletteOptional CSS color for personal-best timing cells.
color_timedCard paletteOptional CSS color for normally timed cells.

All bundled cards also support f1_entry_id and card actions. Home Assistant layout settings remain available in the dashboard editor.

When data is missing

This card is intended for Race and Sprint sessions. Outside those sessions, an unavailable state is normal. For missing pit details, read the availability notice and check the F1TV status or replay contents. Authentication warnings remain visible even when informational notices are hidden.

For an Entity not found message, check the selection in Data Sources and confirm that the entity is enabled in F1 Sensor. For a missing card type or an old interface after an update, use the card loading checks.