homebridge-switchbot-bluetooth-platform
Version:
A Homebridge platform Plugin for controlling SwitchBot bots using BLE (Bluetooth Low Energry)
19 lines • 600 B
TypeScript
export declare type AccessoryType = 'bot' | 'curtain' | 'meter' | 'motion' | 'contact';
export declare type SwitchbotOperationMode = 'switch' | 'press';
export interface IConfigAccessory {
type: AccessoryType;
name: string;
address: string;
scanDuration?: number;
scanRetries?: number;
scanRetryCooldown?: number;
autoTurnOffInPressMode?: boolean;
}
export interface IAccessoryParams {
address: string;
scanDuration: number;
scanRetryCooldown: number;
scanRetries: number;
autoTurnOffInPressMode: boolean;
}
//# sourceMappingURL=accessoryTypes.d.ts.map