Add TTS link to base_url in HTTP

This commit is contained in:
Paulus Schoutsen 2016-12-18 21:20:00 -08:00
parent c105fd6cbd
commit f5c55bbab5

View File

@ -12,10 +12,6 @@ ha_release: 0.35
Text-to-speech (TTS) enables Home Assistant to speak to you. Text-to-speech (TTS) enables Home Assistant to speak to you.
## {% linkable_title Cache %}
The component have two caches. Both caches can be controlled with the `cache` option in the platform configuration or the service call `say`. A long time cache will be located on the file system. The in-memory cache for fast responses to media players will be auto-cleaned after a short period.
## {% linkable_title Configuring a `tts` platform %} ## {% linkable_title Configuring a `tts` platform %}
To get started, add the following lines to your `configuration.yaml` (example for google): To get started, add the following lines to your `configuration.yaml` (example for google):
@ -45,6 +41,10 @@ tts:
time_memory: 300 time_memory: 300
``` ```
<p class='note'>
If you are running Home Assistant over SSL or from within a container, you will have to setup a base url inside the [http component](/components/http/).
</p>
## {% linkable_title Service say %} ## {% linkable_title Service say %}
Say to all `media_player` device entities: Say to all `media_player` device entities:
@ -72,3 +72,6 @@ data_template:
cache: false cache: false
``` ```
## {% linkable_title Cache %}
The component have two caches. Both caches can be controlled with the `cache` option in the platform configuration or the service call `say`. A long time cache will be located on the file system. The in-memory cache for fast responses to media players will be auto-cleaned after a short period.