Can Nest Hub speak while casting?

Hi,

Now I’m casting the whole day a HA dashboard on my Nest Hub, works perfect :

              - service: cast.show_lovelace_view
                data:
                  entity_id: media_player.nest_hub_living
                  dashboard_path: nest-hub
                  view_path: foto

But I’m also using the Nest Hub as speaker, like this :

                      - service: tts.google_say
                        data:
                          entity_id: media_player.group_media_players_for_announcements
                          message: "Hello everybody !"

When using it as speaker, the streaming stops (also getting the annoying sound of google). After that I have to switch on the Nest Hub (again the sound of google) and recast my dashboard.

Is there a way to use the Nest hub as speaker without the casting of the dashboard being stopped ?

You can use Google Assistant SDK notify service instead to broadcast a message. It will be played on all your devices, but the original playback will continue as soon as the broadcasted messages has finished.

Or you can try the trick explained in this post for predefined messages. In short you create a virtual switch in Home Assitant. When the switch state is changed, a custom Google Home routine can be triggered which can send a custom message.