Problems with tts and sonos

Hello everyone,

Can someone help me with the following: When I send a tts to sonos boxes and then the sonos box plays music, the text is not fully pronounced but the music starts playing in the middle of the sentence.

I’ve already tried the following but it doesn’t always work.
´´

  • wait_template: |
    {{ is_state(“media_player.slaapkamer”, “paused”) }}
    ´´

How can I actually solve this!! Been looking for it for a month now!!
Thank you for your replies!!