Skip to content

Commit

Permalink
Add Read only device switches
Browse files Browse the repository at this point in the history
  • Loading branch information
seydx authored Mar 2, 2019
1 parent 0ec3585 commit edb2318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function FritzPlatform (log, config, api) {
this.broadband = config.broadband||{};
this.extReboot = config.extReboot||{};

this.readOnlySwitches = config.readOnlySwitches||false;
this.telegram = config.telegram||{};
this.delay = (config.delay&&config.delay>=10) ? config.delay*1000:10*1000;
this.polling = (config.polling&&config.polling>=5) ? config.polling*1000:5*1000;
Expand Down Expand Up @@ -1128,4 +1129,4 @@ FritzPlatform.prototype = {
}
}

};
};

0 comments on commit edb2318

Please sign in to comment.