Update main.js

master
Administrator 6 years ago
parent b59301965f
commit 8263761f05

@ -315,6 +315,9 @@ function checkObjects(options, regType, regName, regFullName, tasks, newObjects)
obj: regs[i].room
});
newObjects.push(id);
adapter.setState(id, regs[i].type === 'boolean' ? false : regs[i].value);
}
if (regs.length) {

Loading…
Cancel
Save