Respond to an intent with a script.
Definition at line 144 of file __init__.py.
◆ __init__()
| None homeassistant.components.intent_script.ScriptIntentHandler.__init__ |
( |
|
self, |
|
|
str |
intent_type, |
|
|
ConfigType |
config |
|
) |
| |
Initialize the script intent handler.
Definition at line 153 of file __init__.py.
◆ async_handle()
| intent.IntentResponse homeassistant.components.intent_script.ScriptIntentHandler.async_handle |
( |
|
self, |
|
|
intent.Intent |
intent_obj |
|
) |
| |
◆ config
| homeassistant.components.intent_script.ScriptIntentHandler.config |
◆ description
| homeassistant.components.intent_script.ScriptIntentHandler.description |
◆ intent_type
| homeassistant.components.intent_script.ScriptIntentHandler.intent_type |
◆ platforms
| homeassistant.components.intent_script.ScriptIntentHandler.platforms |
◆ slot_schema
| dictionary homeassistant.components.intent_script.ScriptIntentHandler.slot_schema |
|
static |
Initial value:= {
vol.Any("name", "area", "floor"): cv.string,
vol.Optional("domain"): vol.All(cv.ensure_list, [cv.string]),
vol.Optional("device_class"): vol.All(cv.ensure_list, [cv.string]),
}
Definition at line 147 of file __init__.py.
The documentation for this class was generated from the following file:
- core/homeassistant/components/intent_script/__init__.py