From 7cf4b460351f843e576c5d6a51b02592a9dd91d4 Mon Sep 17 00:00:00 2001 From: coutadeurf <40169798+coutadeurf@users.noreply.github.com> Date: Mon, 28 Aug 2023 15:01:49 +0200 Subject: [PATCH] Update opensky to clarify the attributes available in the events (#28710) * Update opensky.markdown to clarify the attributes that are available in the events * Update source/_integrations/opensky.markdown Typo correction (thanks joostlek!) Co-authored-by: Joost Lekkerkerker * Update source/_integrations/opensky.markdown --------- Co-authored-by: Joost Lekkerkerker --- source/_integrations/opensky.markdown | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/source/_integrations/opensky.markdown b/source/_integrations/opensky.markdown index da43e4a121e..e6d422766cf 100644 --- a/source/_integrations/opensky.markdown +++ b/source/_integrations/opensky.markdown @@ -20,9 +20,9 @@ The OpenSky integration allows one to track overhead flights in a given region. {% configuration_basic %} latitude: - description: The latitude of the center of the area to track. + description: The latitude of the center of the area to track. Defaulted with the home's latitude. longitude: - description: The latitude of the center of the area to track. + description: The latitude of the center of the area to track. Defaulted with the home's longitude. radius: description: The radius in meters around the latitude/longitude point to track. altitude: @@ -34,11 +34,16 @@ altitude: - **opensky_entry**: Fired when a flight enters the region. - **opensky_exit**: Fired when a flight exits the region. -Both events have four attributes: +Both events have two attributes in common: - **sensor**: Name of `opensky` sensor that fired the event. - **callsign**: Callsign of the flight. + +**opensky_entry** has 4 additional attributes: + - **altitude**: Altitude of the flight in meters. +- **latitude**: Latitude of the flight in decimal. +- **longitude**: Longitude of the flight in decimal. - **icao24**: The ICAO 24-bit address of the aircraft's transponder. To receive notifications of the entering flights using the [Home Assistant Companion App](https://companion.home-assistant.io/), add the following lines to your `configuration.yaml` file: