From 1db9c897c02777b3d47dcd39cb2e305c0d167505 Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Thu, 28 Mar 2024 23:26:28 +0100 Subject: [PATCH] homeassistant <-> google assistant --- homeassistant/automations.yaml | 1 + homeassistant/configuration.yaml | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 homeassistant/automations.yaml diff --git a/homeassistant/automations.yaml b/homeassistant/automations.yaml new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/homeassistant/automations.yaml @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/homeassistant/configuration.yaml b/homeassistant/configuration.yaml index a9b3777..ea727aa 100644 --- a/homeassistant/configuration.yaml +++ b/homeassistant/configuration.yaml @@ -6,6 +6,10 @@ default_config: frontend: themes: !include_dir_merge_named themes +http: + use_x_forwarded_for: true + trusted_proxies: 10.2.0.0/16 + automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml @@ -24,3 +28,8 @@ sensor: # The template price is in EUR, DKK, NOK or SEK (not in cents). # For example: "{{ current_price * 0.19 + 0.023 | float}}" additional_costs: "{{0.0|float}}" + +google_assistant: + project_id: homeassistant-mothership-1123 + service_account: !include SERVICE_ACCOUNT.JSON + report_state: true