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" |
Handle intents with scripts.
| 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.
| 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.
| 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.
|
private |
Definition at line 23 of file __init__.py.
| string homeassistant.components.intent_script.CONF_ACTION = "action" |
Definition at line 32 of file __init__.py.
| string homeassistant.components.intent_script.CONF_ASYNC_ACTION = "async_action" |
Definition at line 37 of file __init__.py.
| string homeassistant.components.intent_script.CONF_CARD = "card" |
Definition at line 33 of file __init__.py.
| string homeassistant.components.intent_script.CONF_CONTENT = "content" |
Definition at line 35 of file __init__.py.
| string homeassistant.components.intent_script.CONF_INTENTS = "intents" |
Definition at line 28 of file __init__.py.
| string homeassistant.components.intent_script.CONF_PLATFORMS = "platforms" |
Definition at line 27 of file __init__.py.
| string homeassistant.components.intent_script.CONF_REPROMPT = "reprompt" |
Definition at line 30 of file __init__.py.
| string homeassistant.components.intent_script.CONF_SPEECH = "speech" |
Definition at line 29 of file __init__.py.
| string homeassistant.components.intent_script.CONF_TEXT = "text" |
Definition at line 36 of file __init__.py.
| string homeassistant.components.intent_script.CONF_TITLE = "title" |
Definition at line 34 of file __init__.py.
| homeassistant.components.intent_script.CONFIG_SCHEMA |
Definition at line 41 of file __init__.py.
| bool homeassistant.components.intent_script.DEFAULT_CONF_ASYNC_ACTION = False |
Definition at line 39 of file __init__.py.
| string homeassistant.components.intent_script.DOMAIN = "intent_script" |
Definition at line 25 of file __init__.py.