Fix google_maps same last_seen bug (#101971)

This commit is contained in:
Phil Bruckner 2023-10-15 16:39:41 -05:00 committed by GitHub
parent 653da6e31f
commit 8dd8af0718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",