Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.69 KB

README.md

File metadata and controls

52 lines (43 loc) · 1.69 KB

DEPRECATED

google_assistant_relay

Home Assistant custom component that sends text input to Google Assistant.

Usage

service: google_assistant_relay.assist
data:
  query: "Turn on the light of livingroom" // light of livingroom from Google Home

Prequisite

  • Need 'credentials.json' file.
    • Follow instructions from the link to obtain credentials.json.

Installation

  1. Download
    /custom_components/google_assistant_relay/
    
    into
    <config directory>/custom_components/google_assistant_relay/
    
  2. Place 'credentials.json' in <config directory> (eg. <config directory>/credentials.json )

Configuration

Example configuration.yaml:

google_assistant_relay:
  credentials: credentials.json
  language: ko-KR

Configuration variables:

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

Services

google_assistant_relay.assist

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

Credit