Add devices class to better categorisation in HA

This commit is contained in:
2023-02-27 21:31:37 +01:00
parent 7ea6c96331
commit bdaccea1e1
5 changed files with 73 additions and 27 deletions

View File

@@ -141,7 +141,7 @@ class DeviceBeacon:
@property
def via_device(self) -> str:
"""Get the unique id."""
return {(GEORIDE_DOMAIN, self._beacon.tracker_id)}
return (GEORIDE_DOMAIN, self._beacon.linked_tracker_id )
@property
def device_info(self):