Power flow card issues

Hello,

I am using GitHub - flixlix/power-flow-card-plus: A power distribution card inspired by the official Energy Distribution card for Home Assistant to display power distribution across our home system. In principle, this works really well out of the box. However, there is one major issue; namely that various sensors for solar power production, grid import/export, and individual devices are not updated with the same frequency.
Specifically, power consumption by the individual device is updated many times per minute; grid power production/consumption is updated every 30 seconds; and solar production is updated every 70 seconds or so.

This means that the power flow card is oftentimes showing a distribution that is impossible. For example, more power consumed by an individual device than by the home as a whole; or more total power consumed by the home and returned to the grid than what is being produced by solar. See image below where both are the case:


As you can see, 16 kW is returned to the grid, while only 1.4 kW is being produced by solar, and Airco device consumes 4W while home consumes nothing.

Does anyone know how I might solve this? For example, can I ensure that sensors are updated simultaneously, or that the power flow card only updates values if they are consistent?

Thanks