Fix sample yamls in TTS (#17762)

This commit is contained in:
Brant Knudson 2021-05-19 16:26:44 -05:00 committed by GitHub
parent 4b19f94d99
commit eeda7f15c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,26 +110,26 @@ Say to all `media_player` device entities:
```yaml ```yaml
# Replace google_translate_say with <platform>_say when you use a different platform. # Replace google_translate_say with <platform>_say when you use a different platform.
service: tts.google_translate_say service: tts.google_translate_say
entity_id: "all"
data: data:
message: "May the Force be with you." entity_id: all
message: "May the force be with you."
``` ```
Say to the `media_player.floor` device entity: Say to the `media_player.floor` device entity:
```yaml ```yaml
service: tts.google_translate_say service: tts.google_translate_say
entity_id: media_player.floor
data: data:
message: "May the Force be with you." entity_id: media_player.floor
message: "May the force be with you."
``` ```
Say to the `media_player.floor` device entity in French: Say to the `media_player.floor` device entity in French:
```yaml ```yaml
service: tts.google_translate_say service: tts.google_translate_say
entity_id: media_player.floor
data: data:
entity_id: media_player.floor
message: "Que la force soit avec toi." message: "Que la force soit avec toi."
language: "fr" language: "fr"
``` ```