Update main.js

This commit is contained in:
Administrator 2018-11-08 10:12:34 +08:00
parent e231e73c4c
commit 2700e00ad4

View File

@ -266,9 +266,10 @@ function checkDeviceIds(options, config, deviceIds) {
}
function checkObjects(options, regType, regName, regFullName, tasks, newObjects) {
let regs = options[regType];
adapter.log.warn('regs=' + regs);
adapter.log.warn('regs=' + JSON.stringify(regs));
for (let i = 0; regs.length > i; i++) {
const id = adapter.namespace + '.' + regs[i].id;