Update 99-run.sh

This commit is contained in:
Alexandre
2021-11-14 20:58:20 +01:00
committed by GitHub
parent 7b880a66ec
commit 8fecf81c0e

View File

@@ -55,9 +55,6 @@ done
bashio::log.info "Starting the app with the variables in /config/enedisgateway2mqtt"
# Force asset token string
ASSET_TOKEN="string"
# For all keys in config file
for word in $(cat $CONFIGSOURCE); do
# Data validation
@@ -70,6 +67,11 @@ for word in $(cat $CONFIGSOURCE); do
fi
done
# Force asset token string
export ACCESS_TOKEN=$(bashio::config 'ACCESS_TOKEN')
export PDL=$(bashio::config 'PDL')
export MQTT_HOST=$(bashio::config 'MQTT_HOST')
##############
# Launch App #
##############