mirror of
https://github.com/koush/scrypted.git
synced 2026-02-10 17:22:03 +00:00
homekit: init hap properly
This commit is contained in:
@@ -26,8 +26,7 @@ class HAPLocalStorage {
|
||||
|
||||
// HAP storage seems to be global?
|
||||
export function initializeHapStorage() {
|
||||
HAPStorage.storage();
|
||||
(HAPStorage as any).INSTANCE.localStore = new HAPLocalStorage();
|
||||
HAPStorage.setStorage(new HAPLocalStorage());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user