correct mqtt connect

This commit is contained in:
Alexandre
2021-11-19 10:34:45 +01:00
parent e0f2d30cb2
commit 49f70cdd69
2 changed files with 2 additions and 1 deletions

View File

@@ -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"
}

View File

@@ -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