Log succesful configured reporting.

This commit is contained in:
Koen Kanters 2020-12-29 10:56:46 +01:00
parent 0e1d683c77
commit 332ccee44a

View File

@ -327,6 +327,8 @@ class Bridge extends Extension {
this.publishDevices(); this.publishDevices();
logger.info(`Configured reporting for '${message.id}', '${message.cluster}.${message.attribute}'`);
return utils.getResponse(message, { return utils.getResponse(message, {
id: message.id, cluster: message.cluster, maximum_report_interval: message.maximum_report_interval, id: message.id, cluster: message.cluster, maximum_report_interval: message.maximum_report_interval,
minimum_report_interval: message.minimum_report_interval, reportable_change: message.reportable_change, minimum_report_interval: message.minimum_report_interval, reportable_change: message.reportable_change,