@pietrolubini/homebridge-ecoflow
Version:
Homebridge plugin for EcoFlow devices
10 lines (9 loc) • 629 B
TypeScript
import { EcoFlowAccessoryWithQuotaBase } from '@ecoflow/accessories/ecoFlowAccessoryWithQuotaBase';
import { GlacierAllQuotaData } from '@ecoflow/accessories/glacier/interfaces/glacierHttpApiContracts';
import { SwitchServiceBase } from '@ecoflow/services/switchServiceBase';
export declare class SwitchEcoModeService extends SwitchServiceBase {
protected readonly ecoFlowAccessory: EcoFlowAccessoryWithQuotaBase<GlacierAllQuotaData>;
constructor(ecoFlowAccessory: EcoFlowAccessoryWithQuotaBase<GlacierAllQuotaData>);
protected processOnSetOn(value: boolean, revert: () => void): Promise<void>;
private sendOn;
}