Skip to content

Commit

Permalink
Fix too many device tracker updates in log for Tesla (home-assistant#…
Browse files Browse the repository at this point in the history
…32426)

* Fix Tesla too many device tracker updates in log

* Empty commit to re-trigger build

Co-authored-by: Franck Nijhof <[email protected]>
  • Loading branch information
alandtse and frenck authored Mar 4, 2020
1 parent 7e3e4c1 commit f0c7a7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions homeassistant/components/tesla/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f0c7a7c

Please sign in to comment.