Use defaultCfg.

This commit is contained in:
Koen Kanters
2019-02-02 02:00:20 +01:00
parent 0b3c8df810
commit dc70840c8a
+1 -3
View File
@@ -26,8 +26,6 @@ const defaultCfg = {
disDefaultRsp: 0,
};
const foundationCfg = {manufSpec: 0, disDefaultRsp: 0};
const delay = 170;
logger.debug(`Using zigbee-shepherd with settings: '${JSON.stringify(shepherdSettings)}'`);
@@ -311,7 +309,7 @@ class Zigbee {
this.queue.push((queueCallback) => {
logger.debug(`Setup reporting ${log}`);
ep.foundation(cluster, 'configReport', [cfg], foundationCfg, (error) => {
ep.foundation(cluster, 'configReport', [cfg], defaultCfg, (error) => {
if (error) {
logger.error(`Failed to setup reporting ${log} - (${error})`);
} else {