diff --git a/plugins/unifi-protect/package-lock.json b/plugins/unifi-protect/package-lock.json index 22ce2cf178..c3d848648b 100644 --- a/plugins/unifi-protect/package-lock.json +++ b/plugins/unifi-protect/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/unifi-protect", - "version": "0.0.145", + "version": "0.0.146", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/unifi-protect", - "version": "0.0.145", + "version": "0.0.146", "license": "Apache", "dependencies": { "@koush/unifi-protect": "file:../../external/unifi-protect", diff --git a/plugins/unifi-protect/package.json b/plugins/unifi-protect/package.json index 41fb22cfe2..e6a4f170d4 100644 --- a/plugins/unifi-protect/package.json +++ b/plugins/unifi-protect/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/unifi-protect", - "version": "0.0.145", + "version": "0.0.146", "description": "Unifi Protect Plugin for Scrypted", "author": "Scrypted", "license": "Apache", diff --git a/plugins/unifi-protect/src/main.ts b/plugins/unifi-protect/src/main.ts index 58a146cccb..79129e8a2b 100644 --- a/plugins/unifi-protect/src/main.ts +++ b/plugins/unifi-protect/src/main.ts @@ -188,6 +188,7 @@ export class UnifiProtect extends ScryptedDeviceBase implements Settings, Device detections = payload.smartDetectTypes.map(type => ({ className: type, score: payload.score, + label: (payload as any).metadata?.[type]?.name, })); } else {