|
| None | __init__ (self, HomeAssistant hass, str platform, str intent_type, _SlotsType slots, str|None text_input, Context context, str language, IntentCategory|None category=None, str|None assistant=None, str|None device_id=None, str|None conversation_agent_id=None) |
| |
| IntentResponse | create_response (self) |
| |
Hold the intent.
Definition at line 1200 of file intent.py.
◆ __init__()
| None homeassistant.helpers.intent.Intent.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
str |
platform, |
|
|
str |
intent_type, |
|
|
_SlotsType |
slots, |
|
|
str | None |
text_input, |
|
|
Context |
context, |
|
|
str |
language, |
|
|
IntentCategory | None |
category = None, |
|
|
str | None |
assistant = None, |
|
|
str | None |
device_id = None, |
|
|
str | None |
conversation_agent_id = None |
|
) |
| |
◆ create_response()
| IntentResponse homeassistant.helpers.intent.Intent.create_response |
( |
|
self | ) |
|
◆ __slots__
| list homeassistant.helpers.intent.Intent.__slots__ |
|
staticprivate |
Initial value:= [
"hass",
"platform",
"intent_type",
"slots",
"text_input",
"context",
"language",
"category",
"assistant",
"device_id",
"conversation_agent_id",
]
Definition at line 1203 of file intent.py.
◆ assistant
| homeassistant.helpers.intent.Intent.assistant |
◆ category
| homeassistant.helpers.intent.Intent.category |
◆ context
| homeassistant.helpers.intent.Intent.context |
◆ conversation_agent_id
| homeassistant.helpers.intent.Intent.conversation_agent_id |
◆ device_id
| homeassistant.helpers.intent.Intent.device_id |
◆ hass
| homeassistant.helpers.intent.Intent.hass |
◆ intent_type
| homeassistant.helpers.intent.Intent.intent_type |
◆ language
| homeassistant.helpers.intent.Intent.language |
◆ platform
| homeassistant.helpers.intent.Intent.platform |
◆ slots
| homeassistant.helpers.intent.Intent.slots |
◆ text_input
| homeassistant.helpers.intent.Intent.text_input |
The documentation for this class was generated from the following file: