UNPKG

homebridge-rituals-genie

Version:
29 lines 1.12 kB
import { API, DynamicPlatformPlugin, Logger, PlatformAccessory, PlatformConfig, Service, Characteristic } from 'homebridge'; import { Hub } from './interfaces/hubResponse'; export declare class RitualsGeniePlatform implements DynamicPlatformPlugin { readonly log: Logger; readonly config: PlatformConfig; readonly api: API; readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; readonly accessories: PlatformAccessory[]; private readonly name?; private readonly email; private readonly password; private readonly storage; private accountHash?; private hubHash?; hub?: Hub; lastHubState?: Date; constructor(log: Logger, config: PlatformConfig, api: API); configureAccessory(accessory: PlatformAccessory): void; onDidFinishLaunching(): Promise<void>; addFanAccessory(): void; private login; private getHub; getStateForHub(): Promise<void>; updateOnState(onState: boolean): Promise<void>; updateFanSpeed(speedValue: string): Promise<void>; private updateHub; } //# sourceMappingURL=platform.d.ts.map