improved debug messages

fixed TrafficSensor unique id
This commit is contained in:
tomaae 2019-12-10 22:29:35 +01:00
parent f1a239f118
commit 81f25765f7
4 changed files with 11 additions and 5 deletions

View file

@ -117,7 +117,7 @@ class MikrotikControllerPortDeviceTracker(ScannerEntity):
async def async_added_to_hass(self):
"""Port entity created."""
_LOGGER.debug("New port tracker %s (%s)", self._inst, self._data['port-mac-address'])
_LOGGER.debug("New port tracker %s (%s %s)", self._inst, self._data['default-name'], self._data['port-mac-address'])
return
async def async_update(self):