- Since Google Assistant SDK is released, please use Google Assistant SDK.
Home Assistant custom component that sends text input to Google Assistant.
service: google_assistant_relay.assist
data:
query: "Turn on the light of livingroom" // light of livingroom from Google Home
- Need 'credentials.json' file.
- Follow instructions from the link to obtain credentials.json.
- Download
into
/custom_components/google_assistant_relay/
<config directory>/custom_components/google_assistant_relay/
- Place 'credentials.json' in
<config directory>
(eg.<config directory>/credentials.json
)
google_assistant_relay:
credentials: credentials.json
language: ko-KR
key | required | default | dataType | description |
---|---|---|---|---|
credentials | yes | 'credentials.json' | string | relative path of credentials.json file from <config directory> |
language | no | 'en-US' | string | language of a query |
service data attribute | required | dataType | description |
---|---|---|---|
query | yes | string | text input to Google Assistant |
response_event | no | string | an event that contains response text from Google Assistant |