mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Device tracker entities based on GPS should always publish updates (#31551)
This commit is contained in:
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…
x
Reference in New Issue
Block a user