Update powerwall.sh

This commit is contained in:
2023-08-14 21:37:34 -05:00
parent 38feb58ede
commit 7305375ee4

View File

@@ -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