Skip to content

Commit

Permalink
Merge pull request #146 from agittins/agittins-dev
Browse files Browse the repository at this point in the history
fix: Create unique Private BLE tracker entity name #144

- Default entity name caused confusion by being identical to the Private BLE Device-provided entity name. Appened "Bermuda Tracker" to name to create easily-distinguishable tracker name and id. Fixes issue Merged Bermuda / PrivateBLE device pages are confusing, especially duplicated entity names #144
  • Loading branch information
agittins committed Mar 27, 2024
2 parents fcb2d27 + 34d9e7d commit 618f30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/bermuda/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class BermudaDeviceTracker(BermudaEntity, BaseTrackerEntity):

_attr_should_poll = False
_attr_has_entity_name = True
_attr_name = None
_attr_name = "Bermuda Tracker"

@property
def unique_id(self):
Expand Down

0 comments on commit 618f30c

Please sign in to comment.