Google chromecast app not working

As a workaround:
Just auto restart the app when it breaks a flow, or when a Chromecast device becomes unavailable.
Make sure to enable Settings > Experiments > Power User first.

Or with this trigger card: