log address resolution errors through MQTT (#1145)

* log address resolution errors through MQTT

* fixed params
This commit is contained in:
Andreas Brett 2019-02-22 12:49:08 +01:00 committed by Koen Kanters
parent 1287a596f9
commit 1a0baee788

View File

@ -155,6 +155,7 @@ class DevicePublish {
device = this.zigbee.getDevice(entity.ID);
if (!device) {
logger.error(`Failed to find device with ieeAddr: '${entity.ID}'`);
this.mqtt.log('entity_not_found', entity.ID);
return;
}