diff --git a/admin/lib/device_mapping.json b/lib/device_mapping.json similarity index 100% rename from admin/lib/device_mapping.json rename to lib/device_mapping.json diff --git a/admin/lib/objects_templates.json b/lib/objects_templates.json similarity index 100% rename from admin/lib/objects_templates.json rename to lib/objects_templates.json diff --git a/main.js b/main.js index af41b3b..e5caebd 100644 --- a/main.js +++ b/main.js @@ -1,6 +1,6 @@ /** * - * iobroker extron (SIS) Adapter V0.2.16 20240722 + * iobroker extron (SIS) Adapter V0.2.16 20240723 * * Copyright (c) 2020-2024, Bannsaenger * @@ -124,9 +124,9 @@ class Extron extends utils.Adapter { // read Objects template for object generation - this.objectsTemplate = JSON.parse(fs.readFileSync(__dirname + '/admin/lib/objects_templates.json', 'utf8')); + this.objectsTemplate = JSON.parse(fs.readFileSync(__dirname + '/lib/objects_templates.json', 'utf8')); // read devices for device check - this.devices = JSON.parse(fs.readFileSync(__dirname + '/admin/lib/device_mapping.json', 'utf8')); + this.devices = JSON.parse(fs.readFileSync(__dirname + '/lib/device_mapping.json', 'utf8')); /* * For every state in the system there has to be also an object of type state