Update google_assistant_sdk.markdown (#28502)

This commit is contained in:
tronikos 2023-08-12 13:20:23 -07:00 committed by GitHub
parent c461b0fdf4
commit d32c8fefda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@ data:
media_player: media_player.living_room_speaker
```
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:
You can 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
@ -151,6 +151,28 @@ data:
- "1234"
```
You can get responses. Example:
```yaml
service: google_assistant_sdk.send_text_command
data:
command:
- "tell me a joke"
- "tell me another one"
```
returns:
```yaml
responses:
- text: |-
What do you call a belt made of watches?
A waist of time 👖 🕝
- text: |-
What's the most musical part of the turkey?
The drumsticks 🍗
```
### 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.