Graphs are showing broken

Why ewelink devices are shown like broken (not really
sine waves on solar production but more like square wave) some days and other works ok? . usually this is happening after a HA update release that i didn’t install but also like today with no reason at all . It is happening only with Sonoff and ewelink devices and with shelly.