node-switchbot
    Preparing search index...

    Interface LockStatus

    Lock (WoSmartLock) specific types

    interface LockStatus {
        battery?: number;
        calibrated?: boolean;
        connectionType: ConnectionType;
        deviceId: string;
        doorState?: "opened" | "closed";
        lockState: "locked" | "unlocked" | "jammed";
        updatedAt?: Date;
        version?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    battery?: number

    Battery level (0-100)

    calibrated?: boolean
    connectionType: ConnectionType

    Connection type used to retrieve status

    deviceId: string

    Device ID

    doorState?: "opened" | "closed"
    lockState: "locked" | "unlocked" | "jammed"
    updatedAt?: Date

    Last updated timestamp

    version?: string

    Firmware version