Home Assistant Unofficial Reference 2024.12.1
tts.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.cloud.tts.CloudProvider
 
class  homeassistant.components.cloud.tts.CloudTTSEntity
 

Namespaces

 homeassistant.components.cloud.tts
 

Functions

str homeassistant.components.cloud.tts._deprecated_platform (str value)
 
CloudProvider homeassistant.components.cloud.tts.async_get_engine (HomeAssistant hass, ConfigType config, DiscoveryInfoType|None discovery_info=None)
 
None homeassistant.components.cloud.tts.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
Gender|None homeassistant.components.cloud.tts.handle_deprecated_gender (HomeAssistant hass, Gender|str|None gender)
 
str|None homeassistant.components.cloud.tts.handle_deprecated_voice (HomeAssistant hass, str|None original_voice)
 
dict[str, Any] homeassistant.components.cloud.tts.validate_lang (dict[str, Any] value)
 

Variables

 homeassistant.components.cloud.tts._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.cloud.tts.ATTR_GENDER = "gender"
 
dictionary homeassistant.components.cloud.tts.DEPRECATED_VOICES = {"XiaoxuanNeural": "XiaozhenNeural"}
 
 homeassistant.components.cloud.tts.PLATFORM_SCHEMA
 
 homeassistant.components.cloud.tts.SUPPORT_LANGUAGES = list(TTS_VOICES)