SensorStateClass corrected
Of course with the unit change from W to Wh also the SensorStateClass must be adopted from MEASUREMENT to TOTAL - with this patch the initial warning when restarting HA should disappear.
Please consider supporting me
Thanks to those who have already supported me in the past weeks or month that is highly appreciated! To the other users: I am putting quite an amount of energy and passion into this integration. Perhaps you could give yourself a little push (if you can afford it) and become a sponsor.
If you haven't starred this integration in Github yet - please do so - TIA