Need help for automation - integration-restart

Hey there,

since I am not so experienced in programming I wonder if someone of you can help me with an automation.
I am using the “Tibber” integration which sometimes seems to stop working - see attached pic.
If this happens I just have to restart the integration and it works for a while.
Now I wanted to create an automation which monitors the “last-meter” AND the “last-meter-production” values and restarts the integration if there is no change within 5 minutes (or whatever) on one of the sensors. (One of both should change the value everytime)
Is it possible to make an automation for this task? If so, can you please help me how to do so?