@switchbot/homebridge-switchbot
Version:
The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.
21 lines (17 loc) • 525 B
text/typescript
export const PLUGIN_NAME = '@switchbot/homebridge-switchbot'
export const PLATFORM_NAME = 'SwitchBot'
export interface SwitchBotPluginConfig {
openApiToken?: string
openApiSecret?: string
preferMatter?: boolean
enableMatter?: boolean
enableBLE?: boolean // Enable or disable BLE support
// other plugin-specific configuration
[key: string]: any
}
export const DEFAULT_CONFIG: Partial<SwitchBotPluginConfig> = {
preferMatter: true,
enableMatter: true,
enableBLE: true,
}
export type DeviceType = string