Remove marking device tracker stale if state is stale (#19133)

This commit is contained in:
arigilder 2018-12-08 23:27:01 -05:00 committed by Aaron Bach
parent fd5b92b2fb
commit 30064655c2

View File

@ -383,7 +383,6 @@ class DeviceTracker:
for device in self.devices.values():
if (device.track and device.last_update_home) and \
device.stale(now):
device.mark_stale()
self.hass.async_create_task(device.async_update_ha_state(True))
async def async_setup_tracked_device(self):