From f6d71e04a52a5d0509bb72aae8a4cdc49db45dbf Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Fri, 17 Jan 2020 17:33:58 +0100 Subject: [PATCH] Change from API_KEY to Service in google assistant --- .gitignore | 11 +++++++---- components/google_assistant.yaml | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 148e4c03..0eda71a0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1,19 @@ # Home Assistant Components deps/ -.google_maps_location_sharing.cookies.* .HA_VERSION -bravia.conf home-assistant_v2.db html5_push_registrations.conf -.mercedesme-token-cache -secrets.yaml .storage tts/ .uuid +# Credentials Files +.google_maps_location_sharing.cookies.* +.mercedesme-token-cache +bravia.conf +secrets.yaml +components/google_assistant/service_account.json + # Log Files *.log diff --git a/components/google_assistant.yaml b/components/google_assistant.yaml index 23c7c675..7903a36a 100644 --- a/components/google_assistant.yaml +++ b/components/google_assistant.yaml @@ -3,7 +3,7 @@ ###################################################################### project_id: !secret google_project -api_key: !secret google_api_key +service_account: !include google_assistant/service_account.json expose_by_default: false exposed_domains: - climate -- 2.47.3