nubli
Version:
Nuki Bluetooth Library
14 lines (13 loc) • 578 B
TypeScript
/// <reference types="node" />
import { SmartLockCommand } from "./SmartLockCommand";
import { LockAction } from "../states";
import { NukiConfig } from "../nukiConfig";
import { SmartLockResponse } from "../smartLockResponse";
export declare class LockActionCommand extends SmartLockCommand {
readonly requiresChallenge = true;
private action;
private updateCallback?;
constructor(action: LockAction, updateCallback?: (response: SmartLockResponse) => void);
requestData(config: NukiConfig): Buffer;
handleData(command: number, payload: Buffer): void;
}