@ -340,10 +340,24 @@ function checkObjects(options, regType, regName, regFullName, tasks, newObjects)
name: 'add',
obj: objects[id]
});
newObjects.push(id);
}
if (regs.length) {
tasks.push({
id: regName,
obj: {
type: 'channel',
common: {
name: regFullName
},
native: {}
function sortByAddress(a, b) {