Device tracker entities based on GPS should always publish updates (#31551)
parent
1093e25a30
commit
ca1319e1ef
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue