Skip to content

Home Assistant custom component for sending text input to Google Assistant.

License

Notifications You must be signed in to change notification settings

jekalmin/HASS-google-assistant-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Home Assistant custom component for sending text input to Google Assistant.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages