Skip to content

Commit

Permalink
Comment for offline mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Bannsaenger committed Jul 24, 2024
1 parent f17d176 commit 62addf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ class Extron extends utils.Adapter {
// Reset the connection indicator during startup
this.setState('info.connection', false, true);

// Check whether the device type is already chosen. If not, skip the initialisation process and run in offline mode
// only for the messageBox

// The adapters config (in the instance object everything under the attribute "native") is accessible via
// this.config:
this.log.info('onReady(): configured host/port: ' + this.config.host + ':' + this.config.port);
Expand Down

0 comments on commit 62addf4

Please sign in to comment.