|
|
@ -53,7 +53,7 @@ class GeoRideOdometerSensorEntity(CoordinatorEntity, SensorEntity):
|
|
|
|
@property
|
|
|
|
@property
|
|
|
|
def unique_id(self):
|
|
|
|
def unique_id(self):
|
|
|
|
"""Return the unique ID."""
|
|
|
|
"""Return the unique ID."""
|
|
|
|
return self._tracker_device.tracker.tracker_id
|
|
|
|
return f"odometer_{self._tracker_device.tracker.tracker_id}"
|
|
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
@property
|
|
|
|
def state(self):
|
|
|
|
def state(self):
|
|
|
@ -78,4 +78,4 @@ class GeoRideOdometerSensorEntity(CoordinatorEntity, SensorEntity):
|
|
|
|
@property
|
|
|
|
@property
|
|
|
|
def device_info(self):
|
|
|
|
def device_info(self):
|
|
|
|
"""Return the device info."""
|
|
|
|
"""Return the device info."""
|
|
|
|
return self._tracker_device.device_info()
|
|
|
|
return self._tracker_device.device_info
|
|
|
|