From aa2f67816bec43b321b1cebc63d445634819d2d6 Mon Sep 17 00:00:00 2001 From: JammyDodger231 Date: Wed, 31 Jan 2018 16:17:16 +0000 Subject: [PATCH 1/2] Changed note about base url Changed the location to be above the fold --- source/_components/tts.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_components/tts.markdown b/source/_components/tts.markdown index 7a2733ebbc35..28649cab230f 100644 --- a/source/_components/tts.markdown +++ b/source/_components/tts.markdown @@ -22,6 +22,10 @@ tts: - platform: google ``` +

+If you are running Home Assistant over SSL or from within a container, you will have to setup a base URL (`base_url`) inside the [http component](/components/http/). +

+ The following optional parameters can be used with any platform. However the TTS component will only look for global settings under the configuration of the first configured platform: | Parameter | Default | Description | @@ -41,10 +45,6 @@ tts: time_memory: 300 ``` -

-If you are running Home Assistant over SSL or from within a container, you will have to setup a base URL (`base_url`) inside the [http component](/components/http/). -

- ## {% linkable_title Service say %} The `say` service support `language` and on some platforms also `options` for set i.e. *voice, motion, speed, etc*. The text for speech is set with `message`. From 50bdd19bafadf84b0af6526aecfc240c3e05c08e Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 13 Mar 2018 20:56:11 +0100 Subject: [PATCH 2/2] :pencil2: Updating the note + some minors --- source/_components/tts.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/_components/tts.markdown b/source/_components/tts.markdown index 28649cab230f..c32de7d20c5e 100644 --- a/source/_components/tts.markdown +++ b/source/_components/tts.markdown @@ -23,16 +23,16 @@ tts: ```

-If you are running Home Assistant over SSL or from within a container, you will have to setup a base URL (`base_url`) inside the [http component](/components/http/). +Depending on your setup, you might need to set a base URL (`base_url`) inside the [http component](/components/http/).

-The following optional parameters can be used with any platform. However the TTS component will only look for global settings under the configuration of the first configured platform: +The following optional parameters can be used with any platform. However, the TTS component will only look for global settings under the configuration of the first configured platform: | Parameter | Default | Description | |---------------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `cache` | True | Allow TTS to cache voice file to local storage. | -| `cache_dir` | tts | Folder name or path to folder for caching files. | -| `time_memory` | 300 | Time to hold the voice data inside memory for fast play on media player. Minimum is 60 s and the maximum 57600 s (16 hours). | +| `cache_dir` | tts | Folder name or path to a folder for caching files. | +| `time_memory` | 300 | Time to hold the voice data inside memory for fast play on a media player. Minimum is 60 s and the maximum 57600 s (16 hours). | The extended example from above would look like the following sample: @@ -47,7 +47,7 @@ tts: ## {% linkable_title Service say %} -The `say` service support `language` and on some platforms also `options` for set i.e. *voice, motion, speed, etc*. The text for speech is set with `message`. +The `say` service support `language` and on some platforms also `options` for set, i.e., *voice, motion, speed, etc*. The text for speech is set with `message`. Say to all `media_player` device entities: