Receive notifications when flights enter or exit your area
mainYou can set up Home Assistant automations to trigger notifications when a flight enters or exits your monitored area using the flightradar24_entry or flightradar24_exit event types.
If you have multiple Flightradar24 devices configured, you can identify which device triggered the event by checking trigger.event.data.tracked_by_device. To customize this name, go to Settings -> Devices & services, find the Flightradar24 integration, click the three-dot menu next to the specific device, and select Rename.
automation:
- alias: "Flight entry notification"
trigger:
platform: event
event_type: flightradar24_entry
action:
service: notify.mobile_app_<device_name>
data:
message: >-
Flight entry of {{ trigger.event.data.callsign }} to {{ trigger.event.data.airport_destination_city }}
[Open FlightRadar](https://www.flightradar24.com/{{ trigger.event.data.callsign }})
data:
url: >-
https://fr24.com/{{ trigger.event.data.callsign }}/{{ trigger.event.data.id }}
clickAction: >-
https://fr24.com/{{ trigger.event.data.callsign }}/{{ trigger.event.data.id }}
image: "{{ trigger.event.data.aircraft_photo_medium }}"