Add comment to life360 device tracker (#77879)

This commit is contained in:
epenet 2022-09-06 17:34:59 +02:00 committed by GitHub
parent 5459b5fdfe
commit e3fb04e116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,11 @@ class Life360DeviceTracker(
@property
def force_update(self) -> bool:
"""Return True if state updates should be forced."""
"""Return True if state updates should be forced.
Overridden because CoordinatorEntity sets `should_poll` to False,
which causes TrackerEntity to set `force_update` to True.
"""
return False
@property