From ce807bdf0f581295607b265cfe369b4eee9d393f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 24 Nov 2025 13:16:18 +0100 Subject: [PATCH] Revise script notice for environment variables usage Updated script documentation to reflect changes in environment variable handling. --- .templates/01-config_yaml.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index 98ecf866a..946b40a6d 100755 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -11,6 +11,8 @@ if [ ! -d /config ] || ! bashio::supervisor.ping 2> /dev/null; then exit 0 fi +bashio::log.notice "This script is used to export custom environment variables at start of the addon using the env_vars addon options. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2" + # Define slug slug="${HOSTNAME/-/_}" slug="${slug#*_}" @@ -110,8 +112,6 @@ if [[ "$CONFIGSOURCE" == "/config"* ]]; then else bashio::log.green "If accessing the file with filebrowser it should be mapped to $CONFIGSOURCE" fi -bashio::log.green "---------------------------------------------------------" -bashio::log.notice "This script is used to export custom environment variables at start of the addon. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon" bashio::log.warning "This methodology is deprecated, please convert your Environment variables to the addon options env_vars. Instructions can be found here : https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2" echo ""