Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.stt.legacy Namespace Reference

Classes

class  Provider
 

Functions

str|None async_default_provider (HomeAssistant hass)
 
Provider|None async_get_provider (HomeAssistant hass, str|None domain=None)
 
list[Coroutine[Any, Any, None]] async_setup_legacy (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Handle legacy speech-to-text platforms.

Function Documentation

◆ async_default_provider()

str | None homeassistant.components.stt.legacy.async_default_provider ( HomeAssistant  hass)
Return the domain of the default provider.

Definition at line 35 of file legacy.py.

◆ async_get_provider()

Provider | None homeassistant.components.stt.legacy.async_get_provider ( HomeAssistant  hass,
str | None   domain = None 
)
Return provider.

Definition at line 42 of file legacy.py.

◆ async_setup_legacy()

list[Coroutine[Any, Any, None]] homeassistant.components.stt.legacy.async_setup_legacy ( HomeAssistant  hass,
ConfigType   config 
)
Set up legacy speech-to-text providers.

Definition at line 55 of file legacy.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.stt.legacy._LOGGER = logging.getLogger(__name__)
private

Definition at line 31 of file legacy.py.