diff --git a/enedisgateway2mqtt/rootfs/scripts/99-run.sh b/enedisgateway2mqtt/rootfs/scripts/99-run.sh index 989d9e3e5..2848ac474 100644 --- a/enedisgateway2mqtt/rootfs/scripts/99-run.sh +++ b/enedisgateway2mqtt/rootfs/scripts/99-run.sh @@ -66,6 +66,7 @@ bashio::log.info "Starting the app" echo " " # Test mode +TZ=$(bashio::config "TZ") if [ $TZ = "test" ]; then echo "secret mode found, launching script in /config/test.sh" cd /config