Add "reprompt" for the intent response (#1200)

This commit is contained in:
w35l3y 2022-01-31 15:23:33 -03:00 committed by GitHub
parent 3f7798129a
commit e8e26b6dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@ The intent response is an instance of `homeassistant.helpers.intent.IntentRespon
| ---- | ---- | ----------- |
| `intent` | Intent | Instance of intent that triggered response. |
| `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. |
Speech dictionary values:
@ -42,6 +43,13 @@ Speech dictionary values:
| `speech` | String | The text to say
| `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:
| Name | Type | Description |