node-switchbot
    Preparing search index...

    Interface BotStatus

    Bot (WoHand) specific types

    interface BotStatus {
        battery?: number;
        connectionType: ConnectionType;
        deviceId: string;
        mode?: "press" | "switch" | "customize";
        power: "on" | "off";
        updatedAt?: Date;
        version?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    battery?: number

    Battery level (0-100)

    connectionType: ConnectionType

    Connection type used to retrieve status

    deviceId: string

    Device ID

    mode?: "press" | "switch" | "customize"
    power: "on" | "off"
    updatedAt?: Date

    Last updated timestamp

    version?: string

    Firmware version