diff --git a/source/_integrations/google_assistant_sdk.markdown b/source/_integrations/google_assistant_sdk.markdown index 67cb345961a..e299f0b6d86 100644 --- a/source/_integrations/google_assistant_sdk.markdown +++ b/source/_integrations/google_assistant_sdk.markdown @@ -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.