Update powerwall.sh

This commit is contained in:
2023-05-14 18:52:48 -05:00
parent 4616137399
commit 9a9904338b

View File

@@ -15,7 +15,7 @@ VERBOSE=false
CHECKTEMP(){ CHECKTEMP(){
cw=20; cw=20;
echo -e "${idsCL[Yellow]}Sensor Temperature(s) ${idsCL[Green]}Normal${idsCL[Default]}/${idsCL[Yellow]}Warning${idsCL[Default]}/${idsCL[Red]}Critical${idsCL[Default]}" echo -e "${idsCL[Yellow]}Sensor Temperature(s) ${idsCL[Green]}normal${idsCL[Default]}/${idsCL[Yellow]}warning${idsCL[Default]}/${idsCL[Red]}critical${idsCL[Default]}"
DIVIDER DIVIDER
if [ "${1}" != "" ]; then if [ "${1}" != "" ]; then
reading=$(CHECKTEMPSENSOR ${1}) reading=$(CHECKTEMPSENSOR ${1})