Fire more home assistant event

This commit is contained in:
2021-04-11 17:14:40 +02:00
parent 5e83ed1c68
commit 5c77acbdb7
2 changed files with 22 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ class GeoRideLockSwitchEntity(CoordinatorEntity, SwitchEntity):
@property
def unique_id(self):
"""Return the unique ID."""
return f"lock_{self._tracker_device.tracker_id}"
return f"lock_{self._tracker_device.tracker.tracker_id}"
@property
def name(self):