Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.intent_script Namespace Reference

Classes

class  _IntentCardData
 
class  _IntentSpeechRepromptData
 
class  ScriptIntentHandler
 

Functions

None async_load_intents (HomeAssistant hass, dict[str, ConfigType] intents)
 
None async_reload (HomeAssistant hass, ServiceCall service_call)
 
bool async_setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_ACTION = "action"
 
string CONF_ASYNC_ACTION = "async_action"
 
string CONF_CARD = "card"
 
string CONF_CONTENT = "content"
 
string CONF_INTENTS = "intents"
 
string CONF_PLATFORMS = "platforms"
 
string CONF_REPROMPT = "reprompt"
 
string CONF_SPEECH = "speech"
 
string CONF_TEXT = "text"
 
string CONF_TITLE = "title"
 
 CONFIG_SCHEMA
 
bool DEFAULT_CONF_ASYNC_ACTION = False
 
string DOMAIN = "intent_script"
 

Detailed Description

Handle intents with scripts.

Function Documentation

◆ async_load_intents()

None homeassistant.components.intent_script.async_load_intents ( HomeAssistant  hass,
dict[str, ConfigType]  intents 
)
Load YAML intents into the intent system.

Definition at line 91 of file __init__.py.

◆ async_reload()

None homeassistant.components.intent_script.async_reload ( HomeAssistant  hass,
ServiceCall  service_call 
)
Handle reload Intent Script service call.

Definition at line 74 of file __init__.py.

◆ async_setup()

bool homeassistant.components.intent_script.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the intent script component.

Definition at line 108 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.intent_script._LOGGER = logging.getLogger(__name__)
private

Definition at line 23 of file __init__.py.

◆ CONF_ACTION

string homeassistant.components.intent_script.CONF_ACTION = "action"

Definition at line 32 of file __init__.py.

◆ CONF_ASYNC_ACTION

string homeassistant.components.intent_script.CONF_ASYNC_ACTION = "async_action"

Definition at line 37 of file __init__.py.

◆ CONF_CARD

string homeassistant.components.intent_script.CONF_CARD = "card"

Definition at line 33 of file __init__.py.

◆ CONF_CONTENT

string homeassistant.components.intent_script.CONF_CONTENT = "content"

Definition at line 35 of file __init__.py.

◆ CONF_INTENTS

string homeassistant.components.intent_script.CONF_INTENTS = "intents"

Definition at line 28 of file __init__.py.

◆ CONF_PLATFORMS

string homeassistant.components.intent_script.CONF_PLATFORMS = "platforms"

Definition at line 27 of file __init__.py.

◆ CONF_REPROMPT

string homeassistant.components.intent_script.CONF_REPROMPT = "reprompt"

Definition at line 30 of file __init__.py.

◆ CONF_SPEECH

string homeassistant.components.intent_script.CONF_SPEECH = "speech"

Definition at line 29 of file __init__.py.

◆ CONF_TEXT

string homeassistant.components.intent_script.CONF_TEXT = "text"

Definition at line 36 of file __init__.py.

◆ CONF_TITLE

string homeassistant.components.intent_script.CONF_TITLE = "title"

Definition at line 34 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.intent_script.CONFIG_SCHEMA

Definition at line 41 of file __init__.py.

◆ DEFAULT_CONF_ASYNC_ACTION

bool homeassistant.components.intent_script.DEFAULT_CONF_ASYNC_ACTION = False

Definition at line 39 of file __init__.py.

◆ DOMAIN

string homeassistant.components.intent_script.DOMAIN = "intent_script"

Definition at line 25 of file __init__.py.