homebridge
Version:
HomeKit support for the impatient
25 lines • 1 kB
TypeScript
/**
* DoorLock Cluster Behavior
*
* Handles door lock commands for smart locks.
* Uses the featureless DoorLockBehavior base to avoid advertising credential
* features (PIN, RFID, etc.) that cause issues with Apple Home.
*/
import { DoorLockBehavior } from '@matter/main/behaviors/door-lock';
import { DoorLock } from '@matter/main/clusters/door-lock';
/**
* Custom DoorLock Server that calls plugin handlers.
*
* Extends DoorLockBehavior (no credential features) instead of DoorLockServer
* (which includes PinCredential, RfidCredential, etc.). This prevents Apple Home
* from seeing credential capabilities that aren't fully implemented.
*/
export declare class HomebridgeDoorLockServer extends DoorLockBehavior {
/**
* Get the registry for this behavior's endpoint
*/
private getRegistry;
lockDoor(request: DoorLock.LockDoorRequest): Promise<void>;
unlockDoor(request: DoorLock.UnlockDoorRequest): Promise<void>;
}
//# sourceMappingURL=DoorLockBehavior.d.ts.map