mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Update google_assistant_sdk.markdown (#28502)
This commit is contained in:
parent
c461b0fdf4
commit
d32c8fefda
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user