removed mikrotik name from accounting sensor names

This commit is contained in:
tomaae 2020-04-12 22:04:51 +02:00
parent 66064ddd6b
commit 9b9d54c3c4

View file

@ -366,7 +366,7 @@ class MikrotikAccountingSensor(MikrotikControllerSensor):
@property @property
def name(self): def name(self):
"""Return the name.""" """Return the name."""
return f"{self._inst} {self._data['host-name']} {self._type[ATTR_LABEL]} " return f"{self._data['host-name']} {self._type[ATTR_LABEL]} "
@property @property
def unique_id(self): def unique_id(self):