Helper Sensor not showing the right info in the Energy panel

I have a bit of an odd problem. I have an energy consumption tracking device (emporia vue) that monitors kWh on several circuits. I have a heat pump that is being tracked but there are two circuits, the compressor and the air handler.

I want to track them combined in the Energy Dashboard so I made a new helper sensor that sums the two, works great however the data never made it to the Individual Devices graph on the energy panel, it always showed 0.

I searched and made some changes, mostly adding the device and state class in my config file.

customize:
  sensor.downstairs_hvac_day:
    device_class: energy
    state_class: total_increasing
    last_reset: '1970-01-01T00:00:00+00:00'

Now I see the combined sensor in the graph and it looks like it’s working BUT what’s displayed on the graph and the current value of the sensor are always way off.

The graph shows usage of 6kWh.

If I click on the entity at the left it shows it’s actually at 13 kWh used so far today.

All other entities in the graph have consistent values, the graph matches the entity so I don’t think the issue is some sort of delay in the updating of values but I’m at a loss for what else to try.

I’ve tried all the different state_class options starting with measurement but all have the same issue.

If I see correctly, then the sensor started at 7 and increased to 13, so the energy graph shows 6 used (the amount of change). It won’t count the 7 because it never saw it increase to that. So it is working fine. The first day/period is always off because it was not recording the whole period.

So I waited a few days to see if it would be correct but it’s still showing different values.

The graph shows 55kWh and the device shows 43kWh.

Any ideas where the 55kWh value in the graph might be coming from?