Skip to content

Commit

Permalink
Fix google_maps same last_seen bug (#101971)
Browse files Browse the repository at this point in the history
  • Loading branch information
pnbruckner authored Oct 15, 2023
1 parent 653da6e commit 8dd8af0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions homeassistant/components/google_maps/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ def _update_info(self, now=None):
)
_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",
Expand Down

0 comments on commit 8dd8af0

Please sign in to comment.