From 0e78528b6f2c5cf03b9a6e450b839b949cea65cf Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 21 Nov 2019 13:50:32 +0100 Subject: [PATCH] Update ADA 0.7 (#848) --- ada/build.json | 2 +- ada/config.json | 2 +- ada/data/run.sh | 4 +++- almond/config.json | 4 ++++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ada/build.json b/ada/build.json index bdb9a44..f2f02d5 100644 --- a/ada/build.json +++ b/ada/build.json @@ -5,6 +5,6 @@ "armhf": "homeassistant/armhf-base-debian:buster" }, "args": { - "ADA_VERSION": "0.6" + "ADA_VERSION": "0.7" } } diff --git a/ada/config.json b/ada/config.json index 07b9948..b918282 100644 --- a/ada/config.json +++ b/ada/config.json @@ -1,6 +1,6 @@ { "name": "Hey Ada!", - "version": "0.5", + "version": "0.6", "slug": "ada", "description": "Home Assistant featured voice assist", "url": "https://home-assistant.io/addons/ada/", diff --git a/ada/data/run.sh b/ada/data/run.sh index 5228910..2aa0834 100755 --- a/ada/data/run.sh +++ b/ada/data/run.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bashio +STT=$(bashio::config 'stt') +TTS=$(bashio::config 'tts') -exec python3 -m ada +exec python3 -m ada --url "http://hassio/homeassistant" --key "$HASSIO_TOKEN" --stt "$STT" --tts "$TTS" diff --git a/almond/config.json b/almond/config.json index 647a85e..8a9b347 100644 --- a/almond/config.json +++ b/almond/config.json @@ -13,8 +13,12 @@ "homeassistant": "0.102.0.dev", "homeassistant_api": true, "options": { + "stt": "cloud", + "tts": "cloud" }, "schema": { + "stt": "str", + "tts": "str" }, "image": "homeassistant/{arch}-addon-almond" }