Iframe card auto refresh or when input inside iframe get changed

I build an sonos player thats running on the web so i can control my sonos system better.


I made an custom iframe card for love lace with an iframe that fills the full screen and everything works great.

But the iframe keeps refresh every x times and when i change the volume input for example it also refreshes.
Is this something that can be fixed? anybody can help?

An addition to my question.
I just added an panel_iframe with the same url this work great.