Virtual EVCS - possible to show charged kWh

i have integrated my BMW & Keba EVCS through the virtual charging node

Is it possible to show kWh of actual session?

I have the value in MQTT, but don´t know how it has to be given to the virtual node?

i tried things like

  "/Ac/Energy/Forward": energyKwh,
    "/Ac/Energy/Reverse": 0,

    "/Ac/L1/Energy/Forward": energyKwh,
    "/Ac/L1/Energy/Reverse": 0,

    "/ErrorCode": evcc.connected === true ? 0 : 1
};

Old post, and you’ve probably worked it out by now, but for others this is what I have in a function node

// Ensure the incoming payload is an object
let data = msg.payload;

// Construct the object expected by the Virtual Device node
msg.payload = {
    "/Ac/Energy/Forward": data // EV kWh today
};

return msg;