Skip to content

Commit 3b5627f

Browse files
authored
Merge pull request home-assistant#3329 from cyberjacob/current
Add missing configuration for polly
2 parents 6456f64 + 8cb29a3 commit 3b5627f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

source/_components/tts.amazon_polly.markdown

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ tts:
2525
aws_secret_access_key: AWS_SECRET_ACCESS_KEY
2626
profile_name: AWS_PROFILE
2727
region_name: 'us-east-1'
28+
voice: Joanna
2829
```
2930
3031
Configuration variables:
@@ -33,12 +34,14 @@ Configuration variables:
3334
|---------------------|----------|-------------|
3435
| `aws_access_key_id` | Required | Your AWS Access Key ID. For more information, please read the [AWS General Reference regarding Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html). If provided, you must also provide an `aws_secret_access_key` and must **not** provide a `profile_name` |
3536
| `aws_secret_access_key` | Required | Your AWS Secret Access Key. For more information, please read the [AWS General Reference regarding Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html). If provided, you must also provide an `aws_access_key_id` and must **not** provide a `profile_name`. |
36-
| `profile_name` | Optional | A credentials profile name. For more information, please see the [boto3 |
37+
| `profile_name` | Optional | A credentials profile name. For more information, please see the [boto3 Documentation](http://boto3.readthedocs.io/en/latest/guide/configuration.html#shared-credentials-file) for more information. |
3738
| `region_name` | Optional | The region identifier to connect to. The default is `us-east-1`. |
38-
| `name` | Optional | Setting the optional parameter `name` allows multiple notifiers to be created. The default value is `notify`. The notifier will bind to the service `notify.NOTIFIER_NAME`.
39-
|
40-
| `text_type` | text/ssml | text or ssml: Specify wherever to use text (default) or ssml markup |
41-
39+
| `name` | Optional | Setting the optional parameter `name` allows multiple notifiers to be created. The default value is `notify`. The notifier will bind to the service `notify.NOTIFIER_NAME`. |
40+
| `text_type` | text/ssml | text or ssml: Specify wherever to use text (default) or ssml markup by default. |
41+
| `voice` | Optional | Voice name to be used. See the [Amazon Documentation](http://docs.aws.amazon.com/polly/latest/dg/voicelist.html) for available voices. |
42+
| `output_format` | mp3/ogg_vorbis/pcm | Override the default output format, defaults to MP3. |
43+
| `sample_rate` | 8000/16000/22050 | Override the default sample rate, defaults to 22050 for MP3 and Ogg Vorbis, 16000 for pcm. |
44+
4245
## Usage
4346
Say to all `media_player` device entities:
4447
```yaml

0 commit comments

Comments
 (0)