Sonos repeats tts.say text indefinitely

I’ve just moved away from the jishi API call method of doing TTS over Sonos because it stopped working for me. I have ElevenLabs and Chime set up, but so far only have ElevenLabs configured.

I’m able to call this Action successfully:

action: tts.speak
target:
  entity_id: tts.elevenlabs_text_to_speech
data:
  cache: true
  media_player_entity_id: media_player.sonos_office
  message: TESTING

That works. However, if I execute this Action node in NR, the message repeats over & over until I pause the player:

[{"id":"c7023aa25f89d364","type":"api-call-service","z":"eb3cbe54.bd558","g":"c2ba7fe077514f53","name":"TTS Announcement - Kitchen","server":"296c0678.b5f9ca","version":7,"debugenabled":false,"action":"tts.speak","floorId":[],"areaId":[],"deviceId":[],"entityId":["tts.elevenlabs_text_to_speech"],"labelId":[],"data":"{\"cache\":\"true\",\"media_player_entity_id\":\"media_player.sonos_kitchen\",\"message\":\"{{{payload}}}\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":true,"domain":"tts","service":"speak","x":1360,"y":120,"wires":[[]]},{"id":"296c0678.b5f9ca","type":"server","name":"Home Assistant","version":6,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":["y","yes","true","on","home","open"],"connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true},{"id":"cf9539fbbab6ba2c","type":"global-config","env":[],"modules":{"node-red-contrib-home-assistant-websocket":"0.80.3"}}]

Not sure why it doesn’t just play once. Has anyone run into this?

I added a media_player.repeat_set action in a node before the one above… and it prevented the repeating TTS notification. :man_shrugging: