From 1ad87c205dbb960dc3a068492cac771fcf4011cb Mon Sep 17 00:00:00 2001 From: Ari Date: Tue, 31 May 2022 13:28:11 -0400 Subject: [PATCH] updated emitters --- docker/bin/run.sh | 4 ++-- webapp/src/haService/connection.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/bin/run.sh b/docker/bin/run.sh index 5fc6e82..1dbdd2a 100755 --- a/docker/bin/run.sh +++ b/docker/bin/run.sh @@ -4,8 +4,8 @@ api_location=${1} pushd $api_location echo "--------------------" -echo $BUILD_VERSION -echo $SUPERVISOR_TOKEN +echo "BUILD_VERSION = "$BUILD_VERSION +echo "SUPERVISOR_TOKEN = "$SUPERVISOR_TOKEN echo $(python --version) echo "--------------------" python -m uvicorn src.app:app --host "0.0.0.0" --port 8000 diff --git a/webapp/src/haService/connection.ts b/webapp/src/haService/connection.ts index 711daf0..7f6f67e 100644 --- a/webapp/src/haService/connection.ts +++ b/webapp/src/haService/connection.ts @@ -87,7 +87,7 @@ async function startHAConnection() { originalError: JSON.stringify(error), message: translateErrorCodes(error as any), hassToken: !HASS_TOKEN ? "no" : "yes", - hasSuperToken: HASS_SUPERVISOR_TOKEN, + hasSuperToken: !HASS_SUPERVISOR_TOKEN ? "no" : "yes", url: HASS_URL, }, }