diff --git a/.templates/90-config_yaml.sh b/.templates/90-config_yaml.sh index 3743c2929..e5b1eb1bd 100644 --- a/.templates/90-config_yaml.sh +++ b/.templates/90-config_yaml.sh @@ -57,6 +57,11 @@ else # bashio::exit.nok fi +# Check if = instead of : +if [[ "$(grep -c "=" "config.yaml")" > 2 ]]; then + bashio::log.warning 'Are you sure you did not use "KEY=VALUE" ? yaml nomenclature requires "KEY:VALUE"' +fi + # Export all yaml entries as env variables # Helper function function parse_yaml {