homekit: standalone accessories

This commit is contained in:
Koushik Dutta
2022-02-20 14:06:03 -08:00
parent 1511a7420c
commit fe75d0c19d
3 changed files with 6 additions and 4 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/homekit",
"version": "0.0.199",
"version": "0.0.200",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/homekit",
"version": "0.0.199",
"version": "0.0.200",
"dependencies": {
"@koush/qrcode-terminal": "^0.12.0",
"hap-nodejs": "file:../../external/HAP-NodeJS",

View File

@@ -39,5 +39,5 @@
"@types/node": "^14.17.9",
"@types/url-parse": "^1.4.3"
},
"version": "0.0.199"
"version": "0.0.200"
}

View File

@@ -351,7 +351,9 @@ class HomeKit extends ScryptedDeviceBase implements MixinProvider, Settings, Hom
&& mixinDeviceInterfaces.includes(ScryptedInterface.VideoCamera)) {
ret = new CameraMixin(mixinDevice, mixinDeviceState, options);
}
ret = new HomekitMixin(mixinDevice, mixinDeviceState, options);
else {
ret = new HomekitMixin(mixinDevice, mixinDeviceState, options);
}
if (ret.storageSettings.values.standalone) {
setTimeout(() => {