Is it possible to trigger update of lovelace from service call?

Hi

I need to update lovelace cards programmatically from an automation due to that casting from automation doesn’t load my custom_cards correctly. I have tried browser_mod by thomasloven but that doesn’t trigger the cast view to update. If I do it manually from the UI today it works like charm.

Any good ideas?

Br Peter