Convert automatic device tracker to push updates (#7404)

* Convert automatic device tracker to push updates

* Update test

* Add to coveragerc

* Fire hass events when automatic update received

* Change brace indentation
This commit is contained in:
Adam Mills
2017-05-02 21:21:17 -07:00
committed by Paulus Schoutsen
parent f389266f5f
commit c35d09d5f0
4 changed files with 153 additions and 35 deletions
@@ -44,6 +44,7 @@ def test_valid_credentials(mock_create_session, hass):
vehicle.id = 'mock_id'
vehicle.display_name = 'mock_display_name'
vehicle.fuel_level_percent = 45.6
vehicle.latest_location = None
trip.end_location.lat = 45.567
trip.end_location.lon = 34.345