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
|
||||
intent_script:
|
||||
GetTemperature: # Intent type
|
||||
description: Return the temperature and notify the user
|
||||
speech:
|
||||
text: We have {{ states('sensor.temperature') }} degrees
|
||||
action:
|
||||
@ -35,6 +36,14 @@ intent:
|
||||
required: true
|
||||
type: map
|
||||
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:
|
||||
description: Defines an action to run to intents.
|
||||
required: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user