@homebridge-plugins/homebridge-smarthq
Version:
The SmartHQ plugin allows you to interact with SmartHQ Devices in HomeKit and with Siri.
13 lines • 771 B
TypeScript
import type { PlatformAccessory } from 'homebridge';
import type { SmartHQPlatform, devicesConfig, SmartHqContext } from '../../index.js';
export declare class OpalDeviceBase {
readonly platform: SmartHQPlatform;
protected accessory: PlatformAccessory<SmartHqContext>;
readonly device: SmartHqContext['device'] & devicesConfig;
private hkcControllerNotificationsSecret?;
constructor(platform: SmartHQPlatform, accessory: PlatformAccessory<SmartHqContext>, device: SmartHqContext['device'] & devicesConfig);
readErd(erd: string): Promise<string>;
writeErd(erd: string, value: string | boolean): Promise<undefined>;
sendHomeKitControllerNotification(hkcNotificationPath: string): Promise<void>;
}
//# sourceMappingURL=OpalDeviceBase.d.ts.map