From 6addeb1d5682800498a3f81c89ab49a3b783ad4e Mon Sep 17 00:00:00 2001 From: Eric Nagley Date: Sat, 1 Dec 2018 12:47:46 -0500 Subject: [PATCH] Update to reflect new Modes trait. (#7683) * Update to reflect new Modes trait. Update docs to reflect new Modes trait added to media_players. * missed option add. --- source/_components/google_assistant.markdown | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/source/_components/google_assistant.markdown b/source/_components/google_assistant.markdown index 641575ae8e9..cb6e53b4dfd 100644 --- a/source/_components/google_assistant.markdown +++ b/source/_components/google_assistant.markdown @@ -185,10 +185,19 @@ Currently, the following domains are available to be used with Google Assistant, - light (on/off/brightness/rgb color/color temp) - lock (lock/unlock (to allow assistant to unlock, set the `allow_unlock` key in configuration)) - cover (on/off/set position (via set brightness)) -- media_player (on/off/set volume (via set brightness)) +- media_player (on/off/set volume (via set brightness)/source (via set input source)) - climate (temperature setting) - vacuum (dock/start/stop/pause) +### {% linkable_title Media Player Sources %} + +Media Player sources are sent via the Modes trait in Google Assistant. +There is currently a limitation with this feature that requires a hard-coded set of settings. Because of this, the only sources that will be usable by this feature are listed here: +https://developers.google.com/actions/reference/smarthome/traits/modes + +#### Example Command: +"Hey Google, change input source to TV on Living Room Receiver" + ### {% linkable_title Troubleshooting the request_sync service %} The request_sync service requires that the initial sync from Google includes the agent_user_id. If not, the service will log an error that reads something like "Request contains an invalid argument". If this happens, then [unlink the account](https://support.google.com/googlehome/answer/7506443) from Home Control and relink.