diff --git a/.templates/90-config_yaml.sh b/.templates/90-config_yaml.sh index cd3fe2abb..9e5734a64 100644 --- a/.templates/90-config_yaml.sh +++ b/.templates/90-config_yaml.sh @@ -117,8 +117,9 @@ while IFS= read -r line; do [ ! -f /env.py ] && echo "import os" > /env.py echo "os.environ['${line%%=*}'] = '${line#*=}'" >> /env.py python3 /env.py - rm /env.py fi + # set .env + echo "$line" >> /.env || true # Show in log if ! bashio::config.false "verbose"; then bashio::log.blue "$line"; fi else