From 7305375ee4152bbad676a1a1dd2ed17bd5e3bf75 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 14 Aug 2023 21:37:34 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index 8b2c63fa..d4549d89 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -22,7 +22,7 @@ CHECKTEMP(){ echo -e "${idsCL[Cyan]}Sensor Temperature(s) Current / 3DayAVG ${idsCL[Green]}normal${idsCL[Default]} /${idsCL[Yellow]}warning${idsCL[Default]}/ ${idsCL[Red]}critical${idsCL[Default]}" DIVIDER . yellow 90 - for SENSOR in ${!PW_SENSOR_ORD[@]}; do + for SENSOR in ${PW_SENSOR_ORD[@]}; do if [ "${1}" == "" ] || [[ "${SENSOR}" = *"${1}"* ]]; then if [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "esxi" ]; then