mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-26 04:29:58 +00:00
Fix Typo (#863)
* Update coordinatorGroup.js Fix Typo * Update deviceAvailability.js Fix Typo
This commit is contained in:
committed by
Koen Kanters
parent
9605e724e1
commit
dda2e064b2
@@ -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}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user