v2.2.2
Bugfix for #122
π F1 Sensor v2.2.0
π New Sensors
Version 2.2.0 introduces two new sensors powered by the F1 Live API, bringing richer and more dynamic real-time data to Home Assistant.
sensor.f1_current_session
Provides complementary information to sensor.f1_session_status
.
While f1_session_status
shows if a session is live, this sensor tells you which session is currently running β for example Practice 1, Qualification, or Race.
Ideal for dashboards and automations that adapt to the active session type.
sensor.f1_driver_list
A new sensor listing all drivers of the current season directly from the Live API.
Each driver includes key details such as:
- racing_number β driverβs race number
- team_color β hex color of the team (great for custom cards and charts)
- headshot_small / headshot_large β driver portrait URLs
- name / tla / team β driver name, abbreviation, and team
Perfect for building custom cards and dynamic dashboards showing live driver and team data.
π§© Improvements
- Optimized Live API update logic for faster and more stable data refresh.
- Improved session transition handling for smoother updates.
- Enhanced error handling and data validation for better reliability.
π Bug Fixes
- Fixed initialization issues and Live API reconnection errors.
- Corrected inconsistent data types and improved log clarity.
- Better recovery when API responses are missing or delayed.
π§ Other
This release lays the foundation for future real-time features such as live driver timing, enhanced race tracking, and improved visual components for dashboards.