mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
correct mqtt connect
This commit is contained in:
@@ -22,5 +22,5 @@
|
||||
"slug": "gazpar2mqtt",
|
||||
"upstream": "0.4.2-dev",
|
||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||
"version": "0.4.2-dev4"
|
||||
"version": "0.4.2-dev5"
|
||||
}
|
||||
|
||||
@@ -66,6 +66,7 @@ bashio::log.info "Starting the app with the variables in /config/gazpar2mqtt"
|
||||
for word in $(parse_yaml "$CONFIGSOURCE" ""); do
|
||||
# Data validation
|
||||
if [[ $word =~ ^.+[=].+$ ]]; then
|
||||
$word=${word//\"}
|
||||
export $word # Export the variable
|
||||
bashio::log.blue "$word"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user