removed integration name prefix from hosts and their related sensors #24

This commit is contained in:
tomaae 2020-04-10 12:46:07 +02:00
parent 92da2eb9a7
commit 018ed3cf9c
2 changed files with 2 additions and 2 deletions

View file

@ -395,7 +395,7 @@ class MikrotikAccountingSensor(MikrotikControllerSensor):
(CONNECTION_NETWORK_MAC, self._data["mac-address"])},
"manufacturer": self._ctrl.data["resource"]["platform"],
"model": self._ctrl.data["resource"]["board-name"],
"name": f"{self._inst} {self._data['host-name']}",
"name": self._data['host-name'],
}
return info