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 <joostlek@outlook.com>

* Update source/_integrations/opensky.markdown

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
coutadeurf 2023-08-28 15:01:49 +02:00 committed by GitHub
parent b59b17cb02
commit 7cf4b46035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: