Skip to content

Commit

Permalink
add override to uuid generation
Browse files Browse the repository at this point in the history
  • Loading branch information
steveredden committed Oct 4, 2021
1 parent 91c818e commit c092d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iCloudPlatform.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class iCloudPlatform {
//loop through each lightstrp in array
for (let device of this.config.devices) {

const uuid = this.api.hap.uuid.generate('homebridge-iCloud' + device.name );
const uuid = this.api.hap.uuid.generate('homebridge-iCloud' + device.name + device.nameOverride );
let accessory = this.accessories.find(accessory => accessory.UUID === uuid)
new iCloudSound(this.log, this.config, this.api, this.debug, uuid, accessory, device);
}
Expand Down

0 comments on commit c092d8d

Please sign in to comment.