The ...charge_added_session entity currently has a state_class of total_increasing. Apparently, this is invalid for an entity with device_class of energy if the value resets, which we know it does.
I believe the state_class should be measurement and the device_class should be null, because despite it being a value with unit kWh, device_class: energy should not be used with an entity with state_class: measurement.
The
...charge_added_sessionentity currently has astate_classoftotal_increasing. Apparently, this is invalid for an entity withdevice_classofenergyif the value resets, which we know it does.I believe the
state_classshould bemeasurementand thedevice_classshould benull, because despite it being a value with unit kWh,device_class: energyshould not be used with an entity withstate_class: measurement.