I have a sensor for current power usage of my PC, which will go unavaliable when I turn it off etc. and updates every 30 seconds or so
I want to add my PC to the energy dashboard so it needs to have KWh with the statistics setup.
The LLM says Riemann sum integral and Utility meter but I cannot find that helper, best I can find is the statistics helpers but the characteristic I've no clue on what to use here https://www.home-assistant.io/integrations/statistics