From 8dd8af071859ed330a71316073e51ec3c00931a9 Mon Sep 17 00:00:00 2001 From: Phil Bruckner Date: Sun, 15 Oct 2023 16:39:41 -0500 Subject: [PATCH] Fix google_maps same last_seen bug (#101971) --- homeassistant/components/google_maps/device_tracker.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/google_maps/device_tracker.py b/homeassistant/components/google_maps/device_tracker.py index be776df1751..93810d0f21d 100644 --- a/homeassistant/components/google_maps/device_tracker.py +++ b/homeassistant/components/google_maps/device_tracker.py @@ -118,9 +118,7 @@ class GoogleMapsScanner: ) _LOGGER.debug("%s < %s", last_seen, self._prev_seen[dev_id]) continue - if last_seen == self._prev_seen.get(dev_id, last_seen) and hasattr( - self, "success_init" - ): + if last_seen == self._prev_seen.get(dev_id): _LOGGER.debug( "Ignoring %s update because timestamp " "is the same as the last timestamp %s",