mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-22 19:54:23 +02:00
Consolidated device tracker unique id, fixes #194
This commit is contained in:
parent
f4bffc55de
commit
968d5c3859
1 changed files with 0 additions and 5 deletions
|
@ -101,11 +101,6 @@ class MikrotikHostDeviceTracker(MikrotikDeviceTracker):
|
|||
"""Return the name."""
|
||||
return f"{self._data[self.entity_description.data_name]}"
|
||||
|
||||
@property
|
||||
def unique_id(self) -> str:
|
||||
"""Return a unique id for this entity."""
|
||||
return f"{self._data[self.entity_description.data_reference].lower()}"
|
||||
|
||||
@property
|
||||
def is_connected(self) -> bool:
|
||||
"""Return true if the host is connected to the network."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue