Compare commits
3 Commits
0.9.0-snap
...
0.9.0-snap
| Author | SHA1 | Date | |
|---|---|---|---|
| 759fe2d257 | |||
| 9e2e6e8d53 | |||
| 4dc091525e |
@@ -250,13 +250,12 @@ class GeoRideContext:
|
||||
if tracker.tracker_id == refreshed_tracker.tracker_id:
|
||||
tracker.update_all_data(refreshed_tracker)
|
||||
if tracker.version > 2:
|
||||
await force_refresh_trackers_beacon(tracker.tracker_id)
|
||||
self.force_refresh_trackers_beacon(tracker.tracker_id)
|
||||
found = True
|
||||
if not found:
|
||||
self._georide_trackers.append(refreshed_tracker)
|
||||
if refreshed_tracker.version > 2:
|
||||
await force_refresh_trackers_beacon(tracker.tracker_id)
|
||||
|
||||
self.force_refresh_trackers_beacon(new_georide_trackers.tracker_id)
|
||||
if not self._thread_started:
|
||||
_LOGGER.info("Start the thread")
|
||||
# We refresh the tracker list each hours
|
||||
|
||||
@@ -112,10 +112,6 @@ class GeoRideOdometerKmSensorEntity(CoordinatorEntity, SensorEntity):
|
||||
self._state = 0
|
||||
self._hass = hass
|
||||
|
||||
@property
|
||||
def entity_category(self):
|
||||
return EntityCategory.DIAGNOSTIC
|
||||
|
||||
@property
|
||||
def unique_id(self):
|
||||
"""Return the unique ID."""
|
||||
|
||||
Reference in New Issue
Block a user