From 1a0baee78843dc5ec8de97fe43a35f43059c4251 Mon Sep 17 00:00:00 2001 From: Andreas Brett Date: Fri, 22 Feb 2019 12:49:08 +0100 Subject: [PATCH] log address resolution errors through MQTT (#1145) * log address resolution errors through MQTT * fixed params --- lib/extension/devicePublish.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/extension/devicePublish.js b/lib/extension/devicePublish.js index 149a07bb0..a2ffc5eeb 100644 --- a/lib/extension/devicePublish.js +++ b/lib/extension/devicePublish.js @@ -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; }