Skip to content

Commit

Permalink
Merge pull request #90 from jondthompson/Fix-toddgreenfield#89
Browse files Browse the repository at this point in the history
Fixes Bug #89
  • Loading branch information
cbrandlehner authored Dec 23, 2020
2 parents d4c35df + 4ec23e4 commit d66208f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class OnkyoAccessory {
this.log.debug('IP %s', this.ip_address);
this.model = this.config.model;
this.log.debug('Model %s', this.model);
this.zone = this.config.zone.toLowerCase() || 'main';
this.zone = (this.config.zone || 'main').toLowerCase();
this.log.debug('Zone %s', this.zone);

if (this.config.volume_dimmer === undefined) {
Expand Down

0 comments on commit d66208f

Please sign in to comment.