From acfc6276275ff9084d05030a2b35dcc2c610c2d4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 21 Apr 2024 15:00:08 -0500 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 " "