mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
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 <frenck@frenck.nl>
This commit is contained in:
parent
7e3e4c1668
commit
f0c7a7c1bf
@ -68,3 +68,8 @@ class TeslaDeviceEntity(TeslaDevice, TrackerEntity):
|
|||||||
def source_type(self):
|
def source_type(self):
|
||||||
"""Return the source type, eg gps or router, of the device."""
|
"""Return the source type, eg gps or router, of the device."""
|
||||||
return SOURCE_TYPE_GPS
|
return SOURCE_TYPE_GPS
|
||||||
|
|
||||||
|
@property
|
||||||
|
def force_update(self):
|
||||||
|
"""All updates do not need to be written to the state machine."""
|
||||||
|
return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user