MELCloud & MELCloud Home API for Node.js - v60.5.0
    Preparing search index...

    Type Alias HomeEnergySeriesQuery<TData>

    HomeEnergySeriesQuery: TData extends HomeAtwDeviceData
        ? {
            from: string;
            interval: HomeEnergyInterval;
            measure: "consumed"
            | "produced";
            to: string;
        }
        : { from: string; interval: HomeEnergyInterval; to: string }

    HomeEnergyQuery with the interval narrowed to the wire's closed vocabulary — the query shape of the normalized getEnergySeries read.

    Type Parameters

    • TData extends HomeDeviceData

      Wire-format device payload variant selecting the query shape.