vattenfall-europe-sales-api
    Preparing search index...

    Function mapMeterReadings

    • Maps meter readings from a given response to a structured record format.

      Parameters

      Returns Record<string, { consumption: number | null; date: string; reading: number }[]>

      A record where each key is a meter number and the value is an array of readings with their corresponding date, reading amount, and consumption.