From 2f4f9285fa47d6d418e31aa47b337d21192badc3 Mon Sep 17 00:00:00 2001 From: Administrator Date: Thu, 8 Nov 2018 09:40:08 +0800 Subject: [PATCH] Update main.js --- main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.js b/main.js index 74ef7c7..7ee0ed7 100644 --- a/main.js +++ b/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);