From d9383ddefebcd44fe95ef7e376f79193180e3440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Darcel?= Date: Sat, 2 Nov 2024 06:20:10 -0600 Subject: [PATCH] fix: hap uuid --- src/platform.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform.ts b/src/platform.ts index 9e3ab2f..35574ed 100644 --- a/src/platform.ts +++ b/src/platform.ts @@ -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) {