Viessmann vicare integration error token expired

Hi

Due to the illness of my wife I wanted to enable voice control on the heating of our home.

Therefore I replaced the thermostats with tado’s. The integration with google home works fine and home assistant monitors nicely the tado heating requests.

When my automation detects heating requests I use the Vicare set temperature to put it on 25 degrees and when none requested on 17.

This works ok till sometimes I receive a token experid and my automation fails.

Can this error be avoided or catched?

Any advice or tips greatly appreciated.
Kr
Patrick Mertens