Skip to content

Commit

Permalink
fix: hap uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxity committed Nov 2, 2024
1 parent 739fe4e commit d9383dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class ElectricityMapsPlatform implements DynamicPlatformPlugin {
}

discoverDevices() {
const uuid = this.api.hap.uuid.generate('electricity-maps-accessory');
const uuid = this.api.hap.uuid.generate('electricitymaps-accessory');
const existingAccessory = this.accessories.find(accessory => accessory.UUID === uuid);

if (existingAccessory) {
Expand Down

0 comments on commit d9383dd

Please sign in to comment.