Fix for #9 - Wrong state class for SessionEnergy & ChargedEnergy
Please note, that it might be required to rest/fix the long term stats via http://[YOUR-HA-IP]:[PORT]/developer-tools/statistics for the corresponding entities.
Thanks to @Roeland54 for reporting this issue #9