From 6e4d2c9b211d345202501f347d8302811d0c3259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Wed, 26 Sep 2018 13:21:18 +0800 Subject: [PATCH] Update main.js --- main.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/main.js b/main.js index 7d20194..d2db1ff 100644 --- a/main.js +++ b/main.js @@ -241,6 +241,12 @@ function pollData() { }); } +function parseConfig(callback) { + + + adapter.log.info('初始化: ' + adapter.config.door); + +} function main() { @@ -251,6 +257,11 @@ function main() { adapter.log.info('config mySelect: ' + adapter.config.mySelect); + parseConfig(options => { + + + }); + /** * * For every state in the system there has to be also an object of type state