mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Google Assistant SDK: Document support for multiple commands (#25652)
Co-authored-by: Franck Nijhof <frenck@frenck.nl> Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
cabfa34acf
commit
cd38a2cd2b
@ -106,9 +106,9 @@ On the configure page, you can set the language code of the interactions with Go
|
||||
|
||||
You can use the service `google_assistant_sdk.send_text_command` to send commands to Google Assistant.
|
||||
|
||||
| Service data attribute | Optional | Description | Example |
|
||||
| ---------------------- | -------- | ------------------------------------ | ------------------- |
|
||||
| `command` | no | Command to send to Google Assistant. | turn off kitchen TV |
|
||||
| Service data attribute | Optional | Description | Example |
|
||||
| ---------------------- | -------- | ----------- | --------|
|
||||
| `command` | no | Command(s) to send to Google Assistant. | turn off kitchen TV |
|
||||
|
||||
Example:
|
||||
|
||||
@ -118,6 +118,16 @@ data:
|
||||
command: turn off kitchen TV
|
||||
```
|
||||
|
||||
You can also send multiple commands in the same conversation context which is useful to unlock doors or open covers that need a PIN. Example:
|
||||
|
||||
```yaml
|
||||
service: google_assistant_sdk.send_text_command
|
||||
data:
|
||||
command:
|
||||
- "open the garage door"
|
||||
- "1234"
|
||||
```
|
||||
|
||||
### Service `notify.google_assistant_sdk`
|
||||
|
||||
You can use the service `notify.google_assistant_sdk` to broadcast messages to Google Assistant speakers and displays without interrupting music/video playback.
|
||||
|
Loading…
x
Reference in New Issue
Block a user