mirror of
https://github.com/koush/scrypted.git
synced 2026-02-09 00:39:56 +00:00
homekit: property detections renamed classes
This commit is contained in:
4
plugins/homekit/package-lock.json
generated
4
plugins/homekit/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@scrypted/homekit",
|
||||
"version": "0.0.126",
|
||||
"version": "0.0.127",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@scrypted/homekit",
|
||||
"version": "0.0.126",
|
||||
"version": "0.0.127",
|
||||
"dependencies": {
|
||||
"hap-nodejs": "file:../../external/HAP-NodeJS",
|
||||
"lodash": "^4.17.21",
|
||||
|
||||
@@ -40,5 +40,5 @@
|
||||
"@types/qrcode": "^1.4.1",
|
||||
"@types/url-parse": "^1.4.3"
|
||||
},
|
||||
"version": "0.0.126"
|
||||
"version": "0.0.127"
|
||||
}
|
||||
|
||||
@@ -152,8 +152,8 @@ export class CameraMixin extends SettingsMixinDeviceBase<any> implements Setting
|
||||
try {
|
||||
const types = await realDevice.getObjectTypes();
|
||||
const choices = types.people?.map(p => `Person: ${p.label}`) || [];
|
||||
if (types.detections)
|
||||
choices.push(...types.detections);
|
||||
if (types.classes)
|
||||
choices.push(...types.classes);
|
||||
|
||||
const value: string[] = [];
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user