Update powerwall.sh

This commit is contained in:
2023-05-14 18:46:02 -05:00
parent 0a168d9f83
commit 10aa83b33b

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})