Prevent inactive timer Google Nest mini?

I found this workarround (thanks to: hoffsta): I did it. I defeated the horrible Google Home "cast-start" prompt sound!

I also would like to know, is there a better solution?