UNPKG

homebridge-hivehome-control

Version:

Allows control of Hive devices, including water heaters, through Homebridge.

21 lines 994 B
import { PlatformAccessory, PlatformConfig, Service } from 'homebridge'; import { HiveHomeControllerPlatform } from '../../platform'; /** * Base class to implement functionality common to all Hive accessories. */ export declare class HiveAccessory { protected readonly platform: HiveHomeControllerPlatform; protected readonly accessory: PlatformAccessory; protected readonly hiveSession: any; protected static readonly kRefreshInterval = 5000; protected readonly config: PlatformConfig; protected currentState: {}; protected hiveDevice: any; constructor(platform: HiveHomeControllerPlatform, accessory: PlatformAccessory, hiveSession: any); protected addService(type: any, name: any, subType: any, configuredName: any): Service; private updateDeviceState; protected servicesReady(): boolean; protected updateDeviceAndCurrentState(): Promise<void>; protected updateHomekitState(): Promise<void>; } //# sourceMappingURL=hiveAccessory.d.ts.map