Files
core/homeassistant/components/device_tracker
Danijel Stojnic 88fc64c8a0 Add Map support for Locative component (#4174)
* Add Map support for Locative component

The Locative App on the mobile is sending an HTTP request to the
server where also the GPS location is sent.
But the GPS location was not passed to the event device_tracker.see.

Use the passed GPS location from Locative and pass it to the
device_tracker.see event.

With this the device is then also shown on the HA Map component.

* Use existing constants for latitude and longitude

Use the existing constants from homeassistant.consts:

ATTR_LATITUDE for 'latitude'
ATTR_LONGITUDE for 'longitude'

* Reuse the "yield from self.hass.loop.run_in_executor" again

* Use variable gps_location
2016-11-05 13:05:15 -07:00
..
2016-09-01 22:28:46 -06:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 09:58:34 +01:00
2016-10-30 22:18:53 +01:00
2016-03-07 21:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 09:58:34 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00