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