I am trying to get the Growatt integration work. The resulting sensor that shows the energy produced by my solar installation doesn’t have the state_class (with attribute total or total_increasing) and therefore I cannot use it in the solar panel configuration - the sensor isn’t showing up.
Is there a way I can fix this / set the state_class for the sensor.