mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Adds feature to get also longitude and latitude of the triggerd entry… (#42990)
This commit is contained in:
parent
12adde5349
commit
0f46916f9e
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user