Skip to content

Commit

Permalink
moved config files to /lib
Browse files Browse the repository at this point in the history
  • Loading branch information
mschlgl committed Jul 23, 2024
1 parent e66c032 commit b087c48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
*
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b087c48

Please sign in to comment.