From: Giorgio Ravera Date: Thu, 25 Apr 2019 11:39:07 +0000 (+0200) Subject: Upgraded to 0.92: renamed tts google to google_translate X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=3d330cc5ba447b0b6a4e663cf70c1cb7f3c6a64f;p=homeassistant.git Upgraded to 0.92: renamed tts google to google_translate --- diff --git a/components/google.yaml b/components/google.yaml deleted file mode 100644 index 501c754c..00000000 --- a/components/google.yaml +++ /dev/null @@ -1,76 +0,0 @@ -###################################################################### -# Component: Google Home Integration -###################################################################### - -project_id: !secret google_project -api_key: !secret google_api_key -expose_by_default: false -exposed_domains: - - climate - - cover - - input_boolean - - media_player - - script -entity_config: -# Luci - light.luce_corridoio: - room: Corridoio - expose: true - light.luce_cucina: - room: Cucina - expose: true - light.luce_divano: - room: Sala - expose: true - light.luce_bagno: - room: Bagno - expose: true - light.luce_specchio: - room: Bagno - expose: true - light.luce_studio: - room: Studio - expose: true - light.luce_camera: - room: Camera - expose: true -# Tapparelle - cover.tapparella_cucina: - room: Cucina - expose: true - cover.tapparella_sala: - room: Sala - expose: true - cover.tapparella_studio: - room: Studio - expose: true - cover.tapparella_camera: - room: Camera - expose: true -# Termostato - climate.bagno_termostato_bagno: - room: Bagno - expose: true - climate.camera_termostato_camera: - room: Camera - expose: true - climate.cucina_termostato_cucina: - room: Cucina - expose: true - climate.sala_termostato_sala: - room: Sala - expose: true - climate.studio_termostato_studio: - room: Studio - expose: true -# Script & Routine - input_boolean.home_mode_away: - room: Generale - expose: true -# Media Player - media_player.tv_sala: - room: Sala - expose: true - script.speech_status: - expose: true - room: Generale diff --git a/components/google_assistant.yaml b/components/google_assistant.yaml new file mode 100644 index 00000000..501c754c --- /dev/null +++ b/components/google_assistant.yaml @@ -0,0 +1,76 @@ +###################################################################### +# Component: Google Home Integration +###################################################################### + +project_id: !secret google_project +api_key: !secret google_api_key +expose_by_default: false +exposed_domains: + - climate + - cover + - input_boolean + - media_player + - script +entity_config: +# Luci + light.luce_corridoio: + room: Corridoio + expose: true + light.luce_cucina: + room: Cucina + expose: true + light.luce_divano: + room: Sala + expose: true + light.luce_bagno: + room: Bagno + expose: true + light.luce_specchio: + room: Bagno + expose: true + light.luce_studio: + room: Studio + expose: true + light.luce_camera: + room: Camera + expose: true +# Tapparelle + cover.tapparella_cucina: + room: Cucina + expose: true + cover.tapparella_sala: + room: Sala + expose: true + cover.tapparella_studio: + room: Studio + expose: true + cover.tapparella_camera: + room: Camera + expose: true +# Termostato + climate.bagno_termostato_bagno: + room: Bagno + expose: true + climate.camera_termostato_camera: + room: Camera + expose: true + climate.cucina_termostato_cucina: + room: Cucina + expose: true + climate.sala_termostato_sala: + room: Sala + expose: true + climate.studio_termostato_studio: + room: Studio + expose: true +# Script & Routine + input_boolean.home_mode_away: + room: Generale + expose: true +# Media Player + media_player.tv_sala: + room: Sala + expose: true + script.speech_status: + expose: true + room: Generale diff --git a/components/tts.yaml b/components/tts.yaml index ec54d320..3f46ab02 100644 --- a/components/tts.yaml +++ b/components/tts.yaml @@ -2,8 +2,8 @@ # Component: Text to Speach ###################################################################### -platform: google -language: it +platform: google_translate +language: 'it' cache: true time_memory: 300 base_url: !secret base_url diff --git a/configuration.yaml b/configuration.yaml index 677599b3..fb378320 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -146,7 +146,7 @@ mqtt: !include components/mqtt.yaml maxcube: !include components/eq3max.yaml # Google Assistant -google_assistant: !include components/google.yaml +google_assistant: !include components/google_assistant.yaml # Mercedes Me mbwebbeta: !include components/mercedesme.yaml diff --git a/script/notify.yaml b/script/notify.yaml index fa4b33e1..485c67f0 100644 --- a/script/notify.yaml +++ b/script/notify.yaml @@ -116,7 +116,7 @@ volume_manager: # # Operations: # - script.notify_volume_manager -# - tts.google_say +# - tts.google_translate_say ###################################################################### notify_voice: @@ -131,7 +131,7 @@ notify_voice: media_player: "{{ media_player }}" volume_level: "{{ volume_level }}" - - service: tts.google_say + - service: tts.google_translate_say data_template: entity_id: >- {# Check Null Input #}