Invalid Energy consumption in HA due to glitch in inverter data from SAJ Inverter?

I believe you should add availability to the sensor.
LIke suggested Data spikes in the Energy Dashboard - #2 by tom_l