mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Correct the syntax for actions with intent script (#35572)
This commit is contained in:
parent
c30afb53b9
commit
a81bcbf0e2
@ -46,7 +46,7 @@ intent:
|
||||
description: List of domains that the entity supports.
|
||||
required: false
|
||||
type: list
|
||||
actions:
|
||||
action:
|
||||
description: Defines an action to run to intents.
|
||||
required: false
|
||||
type: action
|
||||
@ -109,7 +109,7 @@ conversation:
|
||||
|
||||
intent_script:
|
||||
EventCountToday:
|
||||
actions:
|
||||
action:
|
||||
- action: calendar.get_events
|
||||
target:
|
||||
entity_id: calendar.my_calendar
|
||||
|
@ -148,7 +148,7 @@ As mentioned above, you can then use the `intent_script` integration to implemen
|
||||
# Example configuration.yaml
|
||||
intent_script:
|
||||
SetVolume:
|
||||
actions:
|
||||
action:
|
||||
service: "media_player.volume_set"
|
||||
data:
|
||||
entity_id: "{{ media_player }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user