diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 2608245c..67ba87f4 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -137,6 +137,8 @@ CHECKTEMP(){ else reading="${reading} " fi + else + reading="${reading} " fi else @@ -302,11 +304,13 @@ CHECKTEMP(){ if [ -f ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old ]; then if [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then - echo -en "${reading} ${idsCL[LightRed]}\u2B06 " + echo -en " ${idsCL[LightRed]}\u2B06 " elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old | cut -d'~' -f 1)") -eq 1 ]; then echo -en " ${idsCL[LightGreen]}\u2B07 " elif [ "${temp_f}" == "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old | cut -d'~' -f 1)" ]; then echo -en " ${idsCL[LightCyan]}${idsST[Bold]}~${idsST[Reset]} " + else + echo -en " " fi else echo -en " "