Skip to content
Snippets Groups Projects
Unverified Commit 0f46916f authored by Steve Brandt's avatar Steve Brandt Committed by GitHub
Browse files

Adds feature to get also longitude and latitude of the triggerd entry… (#42990)

parent 12adde53
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,8 @@ class OpenSkySensor(Entity):
ATTR_CALLSIGN: flight,
ATTR_ALTITUDE: altitude,
ATTR_SENSOR: self._name,
ATTR_LONGITUDE: flight.get(ATTR_LONGITUDE),
ATTR_LATITUDE: flight.get(ATTR_LATITUDE),
}
self._hass.bus.fire(event, data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment