So doing a bit of customising with the data from @AlexandrErohin’s home-assistant-flightradar24 HACS integration, I wanted to create some custom cards that allowed me to get detailed information on what was happening in my nearby area, and at my nearest airport.
Whilst the YAML shared in the package was a good starting point, I felt it was a little light and could be improved.
To that end, I wanted to share what I’ve come up with:
github / twcau - Gist: Home Assistant HACS FlightRadar24 Integration Views
For the nearby flights, was able to come up with the sortable views, thanks in part to the work of @thomasloven and their lovelace-state-switch HACS package. Still need to do some work on consistency in how each view is displayed, but almost there.
Hope some others find this work useful.
Key features
Each view a markdown table of relevant data for a specified airport, or location radius (for nearby) using data from the Flightradar24 integration in Home Assistant. The table is designed to be informative and visually appealing, providing quick insights into recent flight activity.
It displays:
- Details: Scheduled arrival/departure times, flight numbers, airline names, status remarks, and aircraft models
- Images: Airline tail icons, origin/destination cities with flags
- Links: Flight (Flightradar24) and Airframe (airfleets.net) information
- Sortable (Nearby flights only): Sort by flight number, airline, departure location, arrival location, altitude, and airspeed, by clicking on the relevant mushroom chip.
In the Gist…
This Gist includes the following:
| File | Description |
|---|---|
| nearby-mushroom_chips_summary.yaml | Mushroom chips to summarise the type of aircraft and stage of flight in the nearby area. |
| arrivals.yaml | Table of all arrivals for an airport set in your Home Assistant Flightradar24 Configuration. |
| departures.yaml | Table of all departures for an airport set in your Home Assistant Flightradar24 Configuration. |
| nearby-details.yaml | Sortable table of nearby flights, sortable by flight number, airline, departure location, arrival location, altitude, and airspeed. |

