From 1250dda0477e66532289df8f4967634e30902c14 Mon Sep 17 00:00:00 2001 From: Matthieu Date: Fri, 4 Mar 2022 18:04:10 +0100 Subject: [PATCH] Fix "list' object has no attribute 'tracker_id' " --- custom_components/georide/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/georide/__init__.py b/custom_components/georide/__init__.py index d995ccf..0124b12 100644 --- a/custom_components/georide/__init__.py +++ b/custom_components/georide/__init__.py @@ -255,7 +255,7 @@ class GeoRideContext: if not found: self._georide_trackers.append(refreshed_tracker) if refreshed_tracker.version > 2: - self.force_refresh_trackers_beacon(new_georide_trackers.tracker_id) + self.force_refresh_trackers_beacon(new_georide_tracker.tracker_id) if not self._thread_started: _LOGGER.info("Start the thread") # We refresh the tracker list each hours