Skip to content

Commit

Permalink
Don't prepend device name with 'Yamaha'. Fallback to "Yamaha AVR".
Browse files Browse the repository at this point in the history
  • Loading branch information
ACDR committed Oct 8, 2020
1 parent 1cc52cd commit 925da7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"license": "UNLICENSED",
"displayName": "Yamaha AVR",
"name": "homebridge-yamaha-avr",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"description": "homebridge-plugin - Add a Yamaha AVR as a HomeKit Audio Receiver with Power, Input, Volume & Remote Control",
"author": {
"name": "ACDR",
Expand Down
2 changes: 1 addition & 1 deletion src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class YamahaAVRPlatform implements IndependentPlatformPlugin {

const device = {
UUID: this.api.hap.uuid.generate(`${config.systemId}_3`),
displayName: `Yamaha ${this.config.name}`,
displayName: this.config.name ? this.config.name : 'Yamaha AVR',
};

const accessory = new this.api.platformAccessory(
Expand Down

0 comments on commit 925da7a

Please sign in to comment.