From f0c7a7c1bf2375cb0b5705239fe48e3f023caeba Mon Sep 17 00:00:00 2001 From: Alan Tse Date: Tue, 3 Mar 2020 18:25:32 -0800 Subject: [PATCH] Fix too many device tracker updates in log for Tesla (#32426) * Fix Tesla too many device tracker updates in log * Empty commit to re-trigger build Co-authored-by: Franck Nijhof --- homeassistant/components/tesla/device_tracker.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/tesla/device_tracker.py b/homeassistant/components/tesla/device_tracker.py index 08e5d58ba6e6e..f39d8055b125f 100644 --- a/homeassistant/components/tesla/device_tracker.py +++ b/homeassistant/components/tesla/device_tracker.py @@ -68,3 +68,8 @@ def should_poll(self): def source_type(self): """Return the source type, eg gps or router, of the device.""" return SOURCE_TYPE_GPS + + @property + def force_update(self): + """All updates do not need to be written to the state machine.""" + return False