Tts.home_assistant_cloud volume and trigger sound

Hello,
I use tts.home_assistant_cloud and I would like to know how to make the announcement volume optional and also how to disable the “ding” sound at the beginning of the announcement?

Thank you

Simply don’t include it in your action. TTS will use the last value the media player volume was set to.

Cloud TTS does not make a “ding” sound at the beginning of an announcement. That is coming from whatever you are using as the media player.

Thank you for your reply.
Sorry, I speak English and the translation is approximate.

My wish is to make the announcement volume optional, like this:

service: tts.speak
data:
  media_player_entity_id: media_player.cuisine
  message: "Votre message"
  cache: false
  options:
    volume_level: 0.5
target:
  entity_id: tts.home_assistant_cloud

Regarding the “ding” sound, I only use Google Home devices.

That is where the “ding” is coming from. Nothing to do with Home Assistant.

You have to adjust the volume in a separate action:

actions:
  - action: media_player.volume_set
    target:
      entity_id: media_player.cuisine
    data:
      volume_level: 0.5
  - action: tts.speak
    target:
      entity_id: tts.home_assistant_cloud
    data:
      media_player_entity_id: media_player.cuisine
      message: "Votre message"
      cache: false

I understand, yet I come from Jeedom and the TTS Cast plugin allows you to remove the “ding”.
https://titidom-rc.github.io/Documentation/fr_FR/TTSCast/index#:~:text=ding%20%3A%20Si%20cette%20option%20est%20mise%20à%20false%20%3A%20Permet%20d’enlever%20le%20“ding”%20présent%20au%20début%20de%20l’annonce%20sur%20un%20Google%20Home%20(Ex%3A%20"ding"%3A%20false)

You need to edit voice device yaml file and add button.

This button will be used in ding action trigger if statement

If button on no ding
If button off ding

There is similar button used for mute.
You can use that as reference

Thank you, can you help me with this procedure?

Is this for esp voice device?

are you controlling setting in esphome device builder?

if not my suggestion does not apply. If so, what device are you using?