mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 05:16:49 +00:00
Fix sample yamls in TTS (#17762)
This commit is contained in:
parent
4b19f94d99
commit
eeda7f15c8
@ -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"
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user