Update main.js
This commit is contained in:
parent
b59301965f
commit
8263761f05
3
main.js
3
main.js
@ -315,6 +315,9 @@ function checkObjects(options, regType, regName, regFullName, tasks, newObjects)
|
|||||||
obj: regs[i].room
|
obj: regs[i].room
|
||||||
});
|
});
|
||||||
newObjects.push(id);
|
newObjects.push(id);
|
||||||
|
|
||||||
|
adapter.setState(id, regs[i].type === 'boolean' ? false : regs[i].value);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (regs.length) {
|
if (regs.length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user