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.