From ca1319e1ef0518e4f4880aa2cecd5e357f420ad1 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 8 Feb 2020 10:56:48 -0800 Subject: [PATCH] Device tracker entities based on GPS should always publish updates (#31551) --- homeassistant/components/device_tracker/config_entry.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/device_tracker/config_entry.py b/homeassistant/components/device_tracker/config_entry.py index 6c5cacac591..059c51989fe 100644 --- a/homeassistant/components/device_tracker/config_entry.py +++ b/homeassistant/components/device_tracker/config_entry.py @@ -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.