mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Add two new options to intent_script (#33009)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
69bfa86ca7
commit
558f7d37d8
@ -17,6 +17,7 @@ The `intent_script` integration allows users to configure actions and responses
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
intent_script:
|
intent_script:
|
||||||
GetTemperature: # Intent type
|
GetTemperature: # Intent type
|
||||||
|
description: Return the temperature and notify the user
|
||||||
speech:
|
speech:
|
||||||
text: We have {{ states('sensor.temperature') }} degrees
|
text: We have {{ states('sensor.temperature') }} degrees
|
||||||
action:
|
action:
|
||||||
@ -35,6 +36,14 @@ intent:
|
|||||||
required: true
|
required: true
|
||||||
type: map
|
type: map
|
||||||
keys:
|
keys:
|
||||||
|
description:
|
||||||
|
description: Description of the intent.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
platforms:
|
||||||
|
description: List of domains that the entity supports.
|
||||||
|
required: false
|
||||||
|
type: list
|
||||||
action:
|
action:
|
||||||
description: Defines an action to run to intents.
|
description: Defines an action to run to intents.
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user