From c49311fcf9df1f8b754fdfad0f8edbae5800a76b Mon Sep 17 00:00:00 2001 From: Moksh Mridul Date: Sat, 26 May 2018 14:07:56 +0530 Subject: [PATCH 1/3] Removed [URL] as suggested by @Tinkerer Removed [URL] as suggested by @Tinkerer --- source/_components/google_assistant.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/google_assistant.markdown b/source/_components/google_assistant.markdown index 95bc10c3e42..92e48a85e26 100644 --- a/source/_components/google_assistant.markdown +++ b/source/_components/google_assistant.markdown @@ -140,7 +140,7 @@ If you're not using Linux, you can use sites such as [this one](https://www.brow 1. Create a new project in the [developer console](https://console.actions.google.com/). a. Add/Import project, give it a name b. Click on `Home Control` card, select the `Smart home` recommendation - c. Create an Action, under the build section. Add in your home assistant url: `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant`, replace the `[YOUR HOME ASSISTANT URL:PORT]` with the domain / ip address and the port under which your Home Assistant is reachable. If you have set `api_password:` add this password to the URL - eg `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant?api_password=[YOUR API PASSWORD]`) + c. Create an Action, under the build section. Add in your home assistant url: `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant`, replace the `[YOUR HOME ASSISTANT URL:PORT]` with the domain / ip address and the port under which your Home Assistant is reachable. If you have set `api_password:` add this password to the URL - eg `https://[YOUR HOME ASSISTANT URL]/api/google_assistant?api_password=[YOUR API PASSWORD]`) d. Click `Done`. Then click on `Overview`, which will lead you back to the app details screen. 2. `Account linking` is required for your app to interact with Home Assistant. Set this up under the `Quick Setup` section a. Leave it at the default `No, I only want to allow account creation on my website` and select Next From b213c75bc589073a81272a9272d17bfa8f6c19b7 Mon Sep 17 00:00:00 2001 From: Moksh Mridul Date: Sat, 26 May 2018 14:12:46 +0530 Subject: [PATCH 2/3] Update google_assistant.markdown --- source/_components/google_assistant.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/google_assistant.markdown b/source/_components/google_assistant.markdown index 92e48a85e26..bd77bd2fbe0 100644 --- a/source/_components/google_assistant.markdown +++ b/source/_components/google_assistant.markdown @@ -140,13 +140,13 @@ If you're not using Linux, you can use sites such as [this one](https://www.brow 1. Create a new project in the [developer console](https://console.actions.google.com/). a. Add/Import project, give it a name b. Click on `Home Control` card, select the `Smart home` recommendation - c. Create an Action, under the build section. Add in your home assistant url: `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant`, replace the `[YOUR HOME ASSISTANT URL:PORT]` with the domain / ip address and the port under which your Home Assistant is reachable. If you have set `api_password:` add this password to the URL - eg `https://[YOUR HOME ASSISTANT URL]/api/google_assistant?api_password=[YOUR API PASSWORD]`) + c. Create an Action, under the build section. Add in your home assistant url: `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant`, replace the `[YOUR HOME ASSISTANT URL:PORT]` with the domain / ip address and the port under which your Home Assistant is reachable. If you have set `api_password:` add this password to the URL - eg `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant?api_password=[YOUR API PASSWORD]`) d. Click `Done`. Then click on `Overview`, which will lead you back to the app details screen. 2. `Account linking` is required for your app to interact with Home Assistant. Set this up under the `Quick Setup` section a. Leave it at the default `No, I only want to allow account creation on my website` and select Next b. For the `Linking type` select `OAuth` and `Implicit` c. Client ID: The `client_id` from your Home Assistant configuration above - d. Authorization URL (replace with your actual URL): `https://[YOUR HOME ASSISTANT URL]/api/google_assistant/auth`. If you have set `api_password:` add this password to the URL `https://[YOUR HOME ASSISTANT URL]/api/google_assistant/auth?api_password=[YOUR API PASSWORD]`) + d. Authorization URL (replace with your actual URL): `https://[YOUR HOME ASSISTANT URL]/api/google_assistant/auth`. If you have set `api_password:` add this password to the URL `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant/auth?api_password=[YOUR API PASSWORD]`) e. Configure your client. Add scopes for `email` and `name`. f. Testing instructions: Enter anything. It doesn't matter since you won't submit this app. 3. Back on the overview page. Click `Simulator` under `TEST` - you don't have to actually test . From 237e5d19e645a17b72d6b5a50fe50b87e4e50ea2 Mon Sep 17 00:00:00 2001 From: Moksh Mridul Date: Sat, 26 May 2018 14:20:11 +0530 Subject: [PATCH 3/3] Update google_assistant.markdown --- source/_components/google_assistant.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/google_assistant.markdown b/source/_components/google_assistant.markdown index bd77bd2fbe0..e1561c01066 100644 --- a/source/_components/google_assistant.markdown +++ b/source/_components/google_assistant.markdown @@ -146,7 +146,7 @@ If you're not using Linux, you can use sites such as [this one](https://www.brow a. Leave it at the default `No, I only want to allow account creation on my website` and select Next b. For the `Linking type` select `OAuth` and `Implicit` c. Client ID: The `client_id` from your Home Assistant configuration above - d. Authorization URL (replace with your actual URL): `https://[YOUR HOME ASSISTANT URL]/api/google_assistant/auth`. If you have set `api_password:` add this password to the URL `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant/auth?api_password=[YOUR API PASSWORD]`) + d. Authorization URL (replace with your actual URL): `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant/auth`. If you have set `api_password:` add this password to the URL `https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant/auth?api_password=[YOUR API PASSWORD]`) e. Configure your client. Add scopes for `email` and `name`. f. Testing instructions: Enter anything. It doesn't matter since you won't submit this app. 3. Back on the overview page. Click `Simulator` under `TEST` - you don't have to actually test .