Google Assistant Error

Hello, I’m having trouble setting up Google Assistant. This is all I have for my config so far:

google_assistant:
  project_id: home-assistant-17e40
  client_id: [random sring]
  access_token: [other random string]
  api_key: [copied from google]

The error I get is

2018-02-14 22:30:42 INFO (MainThread) [homeassistant.setup] Setting up updater
2018-02-14 22:30:42 INFO (MainThread) [homeassistant.setup] Setting up discovery
2018-02-14 22:30:42 INFO (MainThread) [homeassistant.setup] Setting up group
2018-02-14 22:30:42 ERROR (MainThread) [homeassistant.config] Invalid config for [google_assistant]: required key not provided @ data['google_assistant']['access_token']. Got None
required key not provided @ data['google_assistant']['client_id']. Got None
required key not provided @ data['google_assistant']['project_id']. Got None. (See /config/configuration.yaml, line 75). Please check the docs at https://home-assistant.io/components/google_assistant/
2018-02-14 22:30:42 ERROR (MainThread) [homeassistant.setup] Setup failed for google_assistant: Invalid config.

Please see the big blue box at the top of the page for how to format your post correctly. From the error message, your config is incorrect.

Sorry, fixed the formatting. and I know the config is wrong but I’m not sure what’s wrong, I only have the couple of lines so far.

Possibilities include:

  • Your random strings aren’t URL safe
  • You’ve got some tabs or other stray white space in there