From 016137b82b631a15c94b4fa149fbcc4846341863 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Wed, 30 Dec 2020 12:20:38 +0100 Subject: [PATCH] Republish devices after configuring reporting. https://github.com/Koenkk/zigbee-herdsman-converters/commit/5f99e26eda41baad0d692eec397816168808ad5d --- lib/extension/report.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/extension/report.js b/lib/extension/report.js index e80c5264..7d419dd5 100644 --- a/lib/extension/report.js +++ b/lib/extension/report.js @@ -174,6 +174,8 @@ class Report extends Extension { delete device.meta.reporting; this.eventBus.emit('reportingDisabled', {device}); } + + this.eventBus.emit(`devicesChanged`); } catch (error) { logger.error( `Failed to ${term1.toLowerCase()} reporting for '${device.ieeeAddr}' - ${error.stack}`,