HA does not update value

Hi forum,

I recently added a Shelly Plug Plus S in front of my Deye Sun Micro inverter in order to read more accurate values of how much electricity is captured.
It works quite well but sometimes HA seems to stop updating/fetching the value from the Plug. The plug is connected to HA via Wifi and I can see the values updating on the plug interface but not in HA.
When that is the case HA says that there is no logbook available for this device (plug) and I have to restart HA.

What can I do to prevent this?