This commit adds the `state_class: total` in the energy sensor that allows to add it in the energy tab to measure how much energy each session consumes. The value is set to `total` as each charge session does not cumulative increase.