From fff7aef221906116a388b187007b9fd0c19fae32 Mon Sep 17 00:00:00 2001 From: Farfar Date: Thu, 14 Oct 2021 16:51:39 +0200 Subject: [PATCH] Device_tracker change from force update to poll. --- custom_components/skodaconnect/device_tracker.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/custom_components/skodaconnect/device_tracker.py b/custom_components/skodaconnect/device_tracker.py index 96b5dc2..185a9c0 100644 --- a/custom_components/skodaconnect/device_tracker.py +++ b/custom_components/skodaconnect/device_tracker.py @@ -80,6 +80,11 @@ 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 + @property def icon(self): """Return the icon."""