Device tracker entities based on GPS should always publish updates (#31551)
This commit is contained in:
1 parent
1093e25a30
commit
ca1319e1ef
1 file changed
+5
@@ -61,6 +61,11 @@ class BaseTrackerEntity(Entity):
|
||||
class TrackerEntity(BaseTrackerEntity):
|
||||
"""Represent a tracked device."""
|
||||
|
||||
@property
|
||||
def force_update(self):
|
||||
"""All updates need to be written to the state machine."""
|
||||
return True
|
||||
|
||||
@property
|
||||
def location_accuracy(self):
|
||||
"""Return the location accuracy of the device.
|
||||
|
||||
Reference in new issue
Block a user