@homebridge-plugins/homebridge-smarthq
Version:
The SmartHQ plugin allows you to interact with SmartHQ Devices in HomeKit and with Siri.
16 lines • 862 B
TypeScript
import type { PlatformAccessory, Service } from 'homebridge';
import type { SmartHQPlatform, devicesConfig, SmartHqContext } from '../../../index.js';
import { OpalDeviceBase } from '../OpalDeviceBase.js';
export declare class OpalPowerSvcManager extends OpalDeviceBase {
service: Service;
private serviceName;
private configuredName;
advancedOptionQueryStrs: string[];
constructor(platform: SmartHQPlatform, accessory: PlatformAccessory<SmartHqContext>, device: SmartHqContext['device'] & devicesConfig);
createService(): Service;
getService(): Service;
setOpalPowerState(newPowerState: boolean): void;
getOpalPowerState(): import("hap-nodejs").Nullable<import("hap-nodejs").CharacteristicValue>;
turnOffOnProductionLimitSurpassed(currentProductionValue: number): void;
}
//# sourceMappingURL=OpalPowerSvcManager.d.ts.map