mirror of
https://github.com/koush/scrypted.git
synced 2026-02-10 01:02:18 +00:00
homekit: standalone accessories
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.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",
|
||||
|
||||
@@ -39,5 +39,5 @@
|
||||
"@types/node": "^14.17.9",
|
||||
"@types/url-parse": "^1.4.3"
|
||||
},
|
||||
"version": "0.0.199"
|
||||
"version": "0.0.200"
|
||||
}
|
||||
|
||||
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user