From 1bfde0770d3fa91014a3325b2156406654120310 Mon Sep 17 00:00:00 2001 From: aidbish <38182386+aidbish@users.noreply.github.com> Date: Sat, 29 Jun 2019 17:57:16 +1000 Subject: [PATCH] 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 --- source/_components/microsoft.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_components/microsoft.markdown b/source/_components/microsoft.markdown index 9f7dac5fdf6..300befd307b 100644 --- a/source/_components/microsoft.markdown +++ b/source/_components/microsoft.markdown @@ -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: