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
3 changed files with 3 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ class GeoRideActiveSubscriptionBinarySensorEntity(GeoRideBinarySensorEntity):
tracker_device: Device):
"""Set up Georide entity."""
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
def entity_category(self):

View File

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

View File

@@ -11,5 +11,5 @@
],
"dependencies": [],
"codeowners": ["ptimatth"],
"version": "1.1.1"
"version": "1.1.2"
}