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>
This commit is contained in:
John Taseff 2024-03-05 02:08:55 -06:00 committed by GitHub
parent eb9e8ce322
commit 1843a010bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
<div class='note'>