mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-15 05:16:28 +00:00
Add "reprompt" for the intent response (#1200)
This commit is contained in:
parent
3f7798129a
commit
e8e26b6dd2
@ -33,6 +33,7 @@ The intent response is an instance of `homeassistant.helpers.intent.IntentRespon
|
|||||||
| ---- | ---- | ----------- |
|
| ---- | ---- | ----------- |
|
||||||
| `intent` | Intent | Instance of intent that triggered response. |
|
| `intent` | Intent | Instance of intent that triggered response. |
|
||||||
| `speech` | Dictionary | Speech responses. Each key is a type. Allowed types are `plain` and `ssml`. |
|
| `speech` | Dictionary | Speech responses. Each key is a type. Allowed types are `plain` and `ssml`. |
|
||||||
|
| `reprompt` | Dictionary | Reprompt responses. Each key is a type. Allowed types are `plain` and `ssml`.<br />This is used to keep the session open when a response is required from the user. In these cases, `speech` usually is a question. |
|
||||||
| `card` | Dictionary | Card responses. Each key is a type. |
|
| `card` | Dictionary | Card responses. Each key is a type. |
|
||||||
|
|
||||||
Speech dictionary values:
|
Speech dictionary values:
|
||||||
@ -42,6 +43,13 @@ Speech dictionary values:
|
|||||||
| `speech` | String | The text to say
|
| `speech` | String | The text to say
|
||||||
| `extra_data` | Any | Extra information related to this speech.
|
| `extra_data` | Any | Extra information related to this speech.
|
||||||
|
|
||||||
|
Reprompt dictionary values:
|
||||||
|
|
||||||
|
| Name | Type | Description |
|
||||||
|
| ---- | ---- | ----------- |
|
||||||
|
| `reprompt` | String | The text to say when user takes too long to respond
|
||||||
|
| `extra_data` | Any | Extra information related to this speech.
|
||||||
|
|
||||||
Card dictionary values:
|
Card dictionary values:
|
||||||
|
|
||||||
| Name | Type | Description |
|
| Name | Type | Description |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user