Glitch in sensor data due to reboot, causes faulty values


Upon rebooting HA this happened two times today, it has never happened before.
It causes among others the energy dashboard statistics to be unuseful. How can I prevent this? It origins from Solaredge inverter (modbus) sensors, exported and imported energy.