Use coordinator to imporoo reactivituy

This commit is contained in:
2021-04-11 01:07:31 +02:00
parent dbbe1f33b9
commit 7d25405c2f
2 changed files with 39 additions and 30 deletions

View File

@@ -76,16 +76,6 @@ class GeoRideOdometerSensorEntity(CoordinatorEntity, SwitchEntity):
"""unit of mesurment property"""
return self._unit_of_measurement
@property
def get_token_callback(self):
""" GeoRide switch token callback method """
return self._get_token_callback
@property
def get_tracker_callback(self):
""" GeoRide switch token callback method """
return self._get_tracker_callback
@property
def icon(self):
"""icon getter"""