mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-06-22 08:53:32 +02:00
Migrated to new entity naming style
This commit is contained in:
parent
1a0861fd9c
commit
0b4a7a3c72
8 changed files with 37 additions and 37 deletions
|
@ -98,7 +98,7 @@ class MikrotikClientTrafficSensor(MikrotikSensor):
|
|||
@property
|
||||
def name(self) -> str:
|
||||
"""Return the name."""
|
||||
return f"{self._data[self.entity_description.data_name]} {self.entity_description.name}"
|
||||
return f"{self.entity_description.name}"
|
||||
|
||||
@property
|
||||
def available(self) -> bool:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue