diff --git a/powerwall.sh b/powerwall.sh index 623e064a..63c8136f 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -62,7 +62,7 @@ CHECKTEMP(){ # reading=$(CHECKTEMPSENSOR ${SENSOR} ${temp_c} ${temp_warn} ${temp_crit} ${sensorname// /_} ${1}) c=0; spc=''; spc1=`expr ${cw} - ${#sensorname} - 1`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done - echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading}" + echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${temp_c} - ${reading}" ((t++)) done