Skip to content

Commit

Permalink
Fix Manufacturer looking at checkName but should look at checkValue (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker authored Jul 4, 2024
1 parent 21faa99 commit 315111c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Accessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ export class Accessory extends EventEmitter {
checkValue("FirmwareRevision", firmwareRevision);
checkValue("Name", name);
checkName(this.displayName, "Name", name);
checkName(this.displayName, "Manufacturer", manufacturer);
checkValue("Manufacturer", manufacturer);
}

if (mainAccessory) {
Expand Down

0 comments on commit 315111c

Please sign in to comment.