mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02: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"
|
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 all keys in config file
|
||||||
for word in $(cat $CONFIGSOURCE); do
|
for word in $(cat $CONFIGSOURCE); do
|
||||||
# Data validation
|
# Data validation
|
||||||
@@ -70,6 +67,11 @@ for word in $(cat $CONFIGSOURCE); do
|
|||||||
fi
|
fi
|
||||||
done
|
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 #
|
# Launch App #
|
||||||
##############
|
##############
|
||||||
|
|||||||
Reference in New Issue
Block a user