From 8e1825bef2d9f1af2a052744012ec3f6d43b3747 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 6 Nov 2025 16:35:33 +0100 Subject: [PATCH] Add deprecation warning for environment variable setup Added a warning about deprecated methodology for environment variables. --- .templates/01-config_yaml.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index ec9d69041..b34c75eed 100755 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -92,6 +92,7 @@ else 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 and environment variables can be added from the addon options. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2" echo "" # Check if config file is there, or create one from template