Skip to content

Update opensky to clarify the attributes available in the events #28710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions source/_integrations/opensky.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down