my bad, I just found it: https://shelly-api-docs.shelly.cloud/gen2/Component…mponents/Switch
aenergy
: JSON object, information about the energy counter (shown if applicable)
total
: number, total energy consumed in Watt-hoursby_minute
: array of numbers, energy consumption by minute (in Milliwatt-hours) for the last three minutes (the lower the index of the element in the array, the closer to the current moment the minute)