Compare commits
2 Commits
0.9.0-snap
...
0.9.0-snap
| Author | SHA1 | Date | |
|---|---|---|---|
| e9da051fc1 | |||
| 1b2776f646 |
@@ -313,7 +313,7 @@ class GeoRideContext:
|
|||||||
beacon_coordinator = DataUpdateCoordinator[Mapping[str, Any]](
|
beacon_coordinator = DataUpdateCoordinator[Mapping[str, Any]](
|
||||||
hass,
|
hass,
|
||||||
_LOGGER,
|
_LOGGER,
|
||||||
name=tracker_beacon.name
|
name=tracker_beacon.name,
|
||||||
update_method=self.refresh_trackers_beacon,
|
update_method=self.refresh_trackers_beacon,
|
||||||
update_interval=update_interval
|
update_interval=update_interval
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ class GeoRideBeaconUpdatedBinarySensorEntity(GeoRideBeaconBinarySensorEntity):
|
|||||||
@property
|
@property
|
||||||
def unique_id(self):
|
def unique_id(self):
|
||||||
"""Return the unique ID."""
|
"""Return the unique ID."""
|
||||||
return f"update_{self._tracker_beacon_device.beacon.beacon_id}"
|
return f"update_{self._tracker_device_beacon.beacon.beacon_id}"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def device_class(self):
|
def device_class(self):
|
||||||
@@ -295,7 +295,7 @@ class GeoRideBeaconUpdatedBinarySensorEntity(GeoRideBeaconBinarySensorEntity):
|
|||||||
@property
|
@property
|
||||||
def is_on(self):
|
def is_on(self):
|
||||||
"""state value property"""
|
"""state value property"""
|
||||||
return not self._tracker_beacon_device.beacon.is_updated
|
return not self._tracker_device_beacon.beacon.is_updated
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user