Migrated to new entity naming style

This commit is contained in:
Tomaae 2022-08-18 09:29:55 +02:00
parent 1a0861fd9c
commit 0b4a7a3c72
No known key found for this signature in database
GPG key ID: 8360BBD8A381D1C0
8 changed files with 37 additions and 37 deletions

View file

@ -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: