From 1843a010bb86bbc5f1e0d77dfcbf4b1b272ca4f1 Mon Sep 17 00:00:00 2001 From: John Taseff Date: Tue, 5 Mar 2024 02:08:55 -0600 Subject: [PATCH] Clarify google translate how to use preferred speak service (#31741) * Clarify google translate how to use preferred speak service * tiny tweaks --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- .../_integrations/google_translate.markdown | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/source/_integrations/google_translate.markdown b/source/_integrations/google_translate.markdown index dc8d30b8eae..58f27d628fc 100644 --- a/source/_integrations/google_translate.markdown +++ b/source/_integrations/google_translate.markdown @@ -40,7 +40,24 @@ You can also use supported BCP 47 tags like the below or the 2-2 digit format fo | es-es | es | es | | es-us | es | com | -## Service say + +## Service speak + +The `tts.speak` service is the modern way to use Google translate TTS action. Add the `speak` action, select the entity for your Google translate TTS (it's named for the language you created it with), select the media player entity or group to send the TTS audio to, and enter the message to speak. + +For more options about `speak`, see the Speak section on the main [TTS](/integrations/tts/#service-speak) building block page. + +In YAML, your action will look like this: +```yaml +service: tts.speak +target: + entity_id: tts.google_en_com +data: + media_player_entity_id: media_player.giant_tv + message: Hello, can you hear me now? +``` + +## Service say (legacy)