Add list of supported languages. (#9721)

* Add list of supported languages.

The integration does not list the languages that it supports.
Some languages are missing from the integration itself compared to the Microsoft documentation, adding the languages it supports should prevent users trying to add an non-supported language

* Updated supported languages

added link to languages supported by the integration

* Updated supported Languages

* Minor change
This commit is contained in:
aidbish 2019-06-29 17:57:16 +10:00 committed by Fabian Affolter
parent cc2735d032
commit 1bfde0770d

View File

@ -35,7 +35,7 @@ api_key:
required: true
type: string
language:
description: The language to use. Accepted values are listed in the documentation mentioned below. Note that if you set the language to anything other than the default, you will need to specify a matching voice type as well.
description: The language to use. Note that if you set the language to anything other than the default, you will need to specify a matching voice type as well. For the supported languages check the list of [available languages](https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/microsoft/tts.py#L20).
required: false
type: string
default: "`en-us`"
@ -70,6 +70,7 @@ contour:
type: string
{% endconfiguration %}
## {% linkable_title Full configuration example %}
A full configuration sample including optional variables: