Integration with Span?

I was using the main panel consumption (Wh) sensor, because (at least on the surface) it looks to be collecting the right information - and have the right metadata, but - as far as I can tell whatever is being presented is WAY off from what HA expects. Rather than try to troubleshoot it as is - I went back top the current power sensor and used a helper to create a daily Reimann sum (left) sensor to accumulate the energy.

I’ve let the accumulation run all day and this is the comparison:

Old sensor:

8 MILLION Wh?

vs.

Reimann Sum helper:


3kWh

My expected daily usage is somewhere around 20kWh +/- 10% and it’s a quiet cool day, so this feels more correct. I’m going to switch out the utility meter to use the new accumulator this evening if it pans out…