Update main.js
This commit is contained in:
parent
e4eba580d9
commit
2f4f9285fa
3
main.js
3
main.js
@ -567,6 +567,9 @@ function parseConfig(callback) {
|
||||
let tasks = [];
|
||||
|
||||
for (let _deviceId in options.devices) {
|
||||
|
||||
adapter.log.warn('_deviceId=' + _deviceId);
|
||||
|
||||
if (!options.devices.hasOwnProperty(_deviceId)) continue;
|
||||
let device = options.devices[_deviceId];
|
||||
let deviceId = parseInt(_deviceId, 10);
|
||||
|
Loading…
Reference in New Issue
Block a user