reset total KWH on Aeon HEM

Hi all,
I am curious how to reset the total KWH reading on my vera lite ui6, can I just edit that field under advanced settings? also if I do just edit that field what do I put in there, could I set it to the same total KWH the Power companies reading on their meter?
Sorry I this has been asked before, I searched and must not be good at it…
thanks all, its been a long time since I have posted here

Hello

I made scene for resetting the meter. Loop code in scene:

– This scene reset the KWH to 0
– once reset, no way back!

local meterID = 296 (change this value)
local kwh = luup.variable_get(“urn:micasaverde-com:serviceId:EnergyMetering1”, “KWH”, meterID)

luup.call_action(“urn:micasaverde-com:serviceId:EnergyMetering1”, “ResetKWH”, {}, meterID)

(I found the code from the forum some years ago, it is working)