mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Device tracker entities based on GPS should always publish updates (#31551)
This commit is contained in:
@@ -61,6 +61,11 @@ class BaseTrackerEntity(Entity):
|
|||||||
class TrackerEntity(BaseTrackerEntity):
|
class TrackerEntity(BaseTrackerEntity):
|
||||||
"""Represent a tracked device."""
|
"""Represent a tracked device."""
|
||||||
|
|
||||||
|
@property
|
||||||
|
def force_update(self):
|
||||||
|
"""All updates need to be written to the state machine."""
|
||||||
|
return True
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def location_accuracy(self):
|
def location_accuracy(self):
|
||||||
"""Return the location accuracy of the device.
|
"""Return the location accuracy of the device.
|
||||||
|
Reference in New Issue
Block a user