Republish devices after configuring reporting. 5f99e26eda

This commit is contained in:
Koen Kanters 2020-12-30 12:20:38 +01:00
parent 897f5a9324
commit 016137b82b

View File

@ -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}`,