UNPKG

@pietrolubini/homebridge-ecoflow

Version:
11 lines (10 loc) 711 B
import { EcoFlowAccessoryWithQuotaBase } from '@ecoflow/accessories/ecoFlowAccessoryWithQuotaBase'; import { GlacierAllQuotaData } from '@ecoflow/accessories/glacier/interfaces/glacierHttpApiContracts'; import { IceCubeShapeType } from '@ecoflow/accessories/glacier/interfaces/glacierMqttApiContracts'; import { SwitchServiceBase } from '@ecoflow/services/switchServiceBase'; export declare class SwitchMakeIceService extends SwitchServiceBase { private readonly iceCubeShapeType; constructor(ecoFlowAccessory: EcoFlowAccessoryWithQuotaBase<GlacierAllQuotaData>, iceCubeShapeType: IceCubeShapeType); protected processOnSetOn(value: boolean, revert: () => void): Promise<void>; private sendOn; }