mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 17:38:17 +01:00
Update 99-run.sh
This commit is contained in:
@@ -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 #
|
||||
##############
|
||||
|
||||
Reference in New Issue
Block a user