* Update coordinatorGroup.js

Fix Typo

* Update deviceAvailability.js

Fix Typo
This commit is contained in:
Timo Matthias
2019-01-15 17:46:53 +01:00
committed by Koen Kanters
parent 9605e724e1
commit dda2e064b2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -48,14 +48,14 @@ class CoordinatorGroup {
const addPayload = {endpoint: 1, groupid: deviceSettings.coordinator_group, namelen: 0, groupname: ''};
this.zigbee.shepherd.controller.request('ZDO', 'extAddGroup', addPayload, (error, data) => {
if (!error) {
logger.info(`Sucesfully applied coordinator group for ${deviceLog}`);
logger.info(`Successfully applied coordinator group for ${deviceLog}`);
} else {
logger.error(`Failed to apply coordinator group for ${deviceLog}`);
}
});
}
logger.info(`Sucesfully applied coordinator group for ${deviceLog}`);
logger.info(`Successfully applied coordinator group for ${deviceLog}`);
});
}
}
+1 -1
View File
@@ -59,7 +59,7 @@ class DeviceAvailabilityHandler {
if (error) {
logger.debug(`Failed to ping ${ieeeAddr}`);
} else {
logger.debug(`Sucesfully pinged ${ieeeAddr}`);
logger.debug(`Successfully pinged ${ieeeAddr}`);
}
this.publishAvailability(ieeeAddr, !error);