UNPKG

@pietrolubini/homebridge-ecoflow

Version:
10 lines (9 loc) 629 B
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; }