Update tts.markdown

This commit is contained in:
Paulus Schoutsen 2016-12-18 10:21:05 -08:00 committed by GitHub
parent f9ebbd271b
commit 5efe180893

View File

@ -50,13 +50,14 @@ tts:
Say to all `media_player` device entities: Say to all `media_player` device entities:
```yaml ```yaml
service: tts.platform_say # Replace google_say with <platform>_say when you use a different platform.
service: tts.google_say
data: data:
message: 'May the Force be with you.' message: 'May the Force be with you.'
``` ```
```yaml ```yaml
service: tts.platform_say service: tts.google_say
entity_id: media_player.floor entity_id: media_player.floor
data: data:
message: 'May the Force be with you.' message: 'May the Force be with you.'
@ -65,7 +66,7 @@ data:
With a template: With a template:
```yaml ```yaml
service: tts.platform_say service: tts.google_say
data_template: data_template:
message: 'Temperature is {% raw %}{{ sensor.temperature }}{% endraw %}.' message: 'Temperature is {% raw %}{{ sensor.temperature }}{% endraw %}.'
cache: false cache: false