Public Member Functions | |
| list[Voice]|None | async_get_supported_voices (self, str language) |
| TtsAudioType | async_get_tts_audio (self, str message, str language, dict[str, Any] options) |
| str|None | default_language (self) |
| Mapping[str, Any]|None | default_options (self) |
| TtsAudioType | get_tts_audio (self, str message, str language, dict[str, Any] options) |
| list[str] | supported_languages (self) |
| list[str]|None | supported_options (self) |
Static Public Attributes | |
| None | |
| TtsAudioType homeassistant.components.tts.legacy.Provider.async_get_tts_audio | ( | self, | |
| str | message, | ||
| str | language, | ||
| dict[str, Any] | options | ||
| ) |
| str | None homeassistant.components.tts.legacy.Provider.default_language | ( | self | ) |
Return the default language.
Reimplemented in homeassistant.components.yandextts.tts.YandexSpeechKitProvider, homeassistant.components.watson_tts.tts.WatsonTTSProvider, and homeassistant.components.voicerss.tts.VoiceRSSProvider.
| Mapping[str, Any] | None homeassistant.components.tts.legacy.Provider.default_options | ( | self | ) |
Return a mapping with the default options.
Reimplemented in homeassistant.components.watson_tts.tts.WatsonTTSProvider.
| TtsAudioType homeassistant.components.tts.legacy.Provider.get_tts_audio | ( | self, | |
| str | message, | ||
| str | language, | ||
| dict[str, Any] | options | ||
| ) |
| list[str] homeassistant.components.tts.legacy.Provider.supported_languages | ( | self | ) |
Return a list of supported languages.
Reimplemented in homeassistant.components.yandextts.tts.YandexSpeechKitProvider, homeassistant.components.watson_tts.tts.WatsonTTSProvider, and homeassistant.components.voicerss.tts.VoiceRSSProvider.
| list[str] | None homeassistant.components.tts.legacy.Provider.supported_options | ( | self | ) |
Return a list of supported options like voice, emotions.
Reimplemented in homeassistant.components.yandextts.tts.YandexSpeechKitProvider, and homeassistant.components.watson_tts.tts.WatsonTTSProvider.