Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.picotts.tts Namespace Reference

Classes

class  PicoProvider
 

Functions

def get_engine (hass, config, discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string DEFAULT_LANG = "en-US"
 
 PLATFORM_SCHEMA
 
list SUPPORT_LANGUAGES = ["en-US", "en-GB", "de-DE", "es-ES", "fr-FR", "it-IT"]
 

Detailed Description

Support for the Pico TTS speech service.

Function Documentation

◆ get_engine()

def homeassistant.components.picotts.tts.get_engine (   hass,
  config,
  discovery_info = None 
)
Set up Pico speech component.

Definition at line 28 of file tts.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.picotts.tts._LOGGER = logging.getLogger(__name__)
private

Definition at line 17 of file tts.py.

◆ DEFAULT_LANG

string homeassistant.components.picotts.tts.DEFAULT_LANG = "en-US"

Definition at line 21 of file tts.py.

◆ PLATFORM_SCHEMA

homeassistant.components.picotts.tts.PLATFORM_SCHEMA
Initial value:
1 = TTS_PLATFORM_SCHEMA.extend(
2  {vol.Optional(CONF_LANG, default=DEFAULT_LANG): vol.In(SUPPORT_LANGUAGES)}
3 )

Definition at line 23 of file tts.py.

◆ SUPPORT_LANGUAGES

list homeassistant.components.picotts.tts.SUPPORT_LANGUAGES = ["en-US", "en-GB", "de-DE", "es-ES", "fr-FR", "it-IT"]

Definition at line 19 of file tts.py.