Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Update device_tracker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dscao authored Jan 24, 2023
1 parent 7d12a95 commit 488c820
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/gooddriver/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def icon(self):

@property
def source_type(self):
return "GPS"
return "gps"

@property
def latitude(self):
Expand Down Expand Up @@ -156,4 +156,4 @@ async def async_update(self):
if self._gps_conver == True:
self._coords = gcj02towgs84(self.coordinator.data["thislon"], self.coordinator.data["thislat"])
else:
self._coords = [self.coordinator.data["thislon"], self.coordinator.data["thislat"]]
self._coords = [self.coordinator.data["thislon"], self.coordinator.data["thislat"]]

0 comments on commit 488c820

Please sign in to comment.