Skip to content

Commit

Permalink
unifi-protect: add lpr
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Apr 18, 2024
1 parent 8d47e9c commit 3e7535c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/unifi-protect/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/unifi-protect/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
1 change: 1 addition & 0 deletions plugins/unifi-protect/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3e7535c

Please sign in to comment.