Skip to content

Commit

Permalink
Add GPS accuracy to device_tracker entity
Browse files Browse the repository at this point in the history
  • Loading branch information
ufozone committed Feb 25, 2024
1 parent 2dc81fe commit 8fe7206
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custom_components/zcsmower/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ def _get_location_history(self) -> None:
self.coordinator._async_update_listeners()
)

@property
def location_accuracy(self):
"""Return the gps accuracy of the device."""
return 10

@property
def latitude(self) -> float | None:
"""Return latitude value of the device."""
Expand Down

0 comments on commit 8fe7206

Please sign in to comment.