I have a Aeotec G2 Home Energy monitor (HEM)… I used to use Domoticz with this device, which had an excellent system for graphing and totaling powering usage built in. I am trying to achieve some of this functionality in Home Assistant.
Currently the device is configured to report live volts, amps, and watts every 5 seconds. This works fine in Home Assistant. But ultimately I would like a sensor that shows daily power usage in kWh and another that shows monthly usage. But unsure how to go about this. Can any of the built in templating/statistics sensor components do this?
As a side note, the HEM itself also keeps a running total of kWh usage; it accumulates until you issue a RESET command from the Zwave meter command class. My HEM is not configured to report this value though, as I never had to use it. But if this could possibly achieve what I want, I can enable it.