diff --git a/main.js b/main.js index 915b5ce..54daaf1 100644 --- a/main.js +++ b/main.js @@ -355,13 +355,17 @@ function parseConfig(callback) { checkObjects(adapter.config, 'config', 'config', 'Config Info', tasks, newObjects); - checkObjects(adapter.config, 'yz', 'yz', 'menjin', tasks, newObjects); + checkObjects(adapter.config, 'yz', 'yz', '闸机', tasks, newObjects); - checkObjects(adapter.config, 'dz', 'dz', 'chedao', tasks, newObjects); + checkObjects(adapter.config, 'dz', 'dz', '车道', tasks, newObjects); - checkObjects(adapter.config, 'video', 'video', 'video', tasks, newObjects); + checkObjects(adapter.config, 'video', 'video', '视频', tasks, newObjects); - checkObjects(adapter.config, 'power', 'power', 'room power', tasks, newObjects); + checkObjects(adapter.config, 'power', 'power', '电源控制', tasks, newObjects); + + checkObjects(adapter.config, 'ludeng', 'ludeng', '路灯', tasks, newObjects); + + checkObjects(adapter.config, 'dianti', 'dianti', '电梯', tasks, newObjects); tasks.push({ id: 'info',