Compare commits

..

2 Commits

Author SHA1 Message Date
7be10411f5 Bump version to 1.1.2 2026-02-05 21:45:59 +01:00
97b54c9de8 Merge pull request #16 from ptimatth/15-update-ha-202620---missing-all-entities
feat: Update entity_id format and add GeoRide model support
2026-02-05 21:31:21 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ class GeoRideActiveSubscriptionBinarySensorEntity(GeoRideBinarySensorEntity):
tracker_device: Device): tracker_device: Device):
"""Set up Georide entity.""" """Set up Georide entity."""
super().__init__(coordinator, tracker_device) super().__init__(coordinator, tracker_device)
self.entity_id = f"{ENTITY_ID_FORMAT.format('is_active_subscription_')}_{tracker_device.tracker.tracker_id}"# pylint: disable=C0301 self.entity_id = f"{ENTITY_ID_FORMAT.format('is_active_subscription')}_{tracker_device.tracker.tracker_id}"# pylint: disable=C0301
@property @property
def entity_category(self): def entity_category(self):

View File

@@ -52,7 +52,7 @@ class Device:
elif self._tracker.version == 3: elif self._tracker.version == 3:
if self._tracker.model == 'georide-3': if self._tracker.model == 'georide-3':
name = "GeoRide 3" name = "GeoRide 3"
else if self._tracker.model == 'georide-3s': elif self._tracker.model == 'georide-3s':
name = "GeoRide 3S" name = "GeoRide 3S"
else: else:
name = "GeoRide Mini" name = "GeoRide Mini"