Update powerwall.sh

This commit is contained in:
2023-05-14 17:36:31 -05:00
parent 1da0af8448
commit c635bf83e5

View File

@@ -49,7 +49,7 @@ CHECKTEMPSENSOR(){
echo -en "${idsCL[Green]}Normal - $temp_f°F${idsCL[Default]}"
fi
echo -e " - (${idsCL[LightMagenta]}$(echo ${TEMP_THRESHOLDS[${1}]} | cut -d',' -f 1)°F${idsCL[Default]}/${idsCL[Red]}$(echo ${TEMP_THRESHOLDS[${1}]} | cut -d',' -f 2)°F${idsCL[Default]})"
echo -e " - (${idsCL[Green]}$(expr $(echo ${TEMP_THRESHOLDS[${1}]} | cut -d',' -f 1) - 1)${idsCL[Default]}/${idsCL[LightMagenta]}$(echo ${TEMP_THRESHOLDS[${1}]} | cut -d',' -f 1)°F${idsCL[Default]}/${idsCL[Red]}$(echo ${TEMP_THRESHOLDS[${1}]} | cut -d',' -f 2)°F${idsCL[Default]})"
fi
}