mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-02 18:11:36 +00:00
Use defaultCfg.
This commit is contained in:
+1
-3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user