Update temp.inc.sh

This commit is contained in:
2024-04-21 15:01:23 -05:00
parent acfc627627
commit 6dfc1b470c

View File

@@ -133,7 +133,7 @@ CHECKTEMP(){
elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)") -eq 1 ]; then
reading="${reading} ${idsCL[LightGreen]}\u2B07 "
elif [ "${temp_f}" == "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)" ]; then
reading="${reading} ${idsCL[LightCyan]}${idsST[Bold]}~${idsST[Reset]} "
reading="${reading} ${idsCL[LightCyan]}${idsST[Bold]}\u003D${idsST[Reset]} "
else
reading="${reading} "
fi
@@ -308,7 +308,7 @@ CHECKTEMP(){
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]} "
echo -en " ${idsCL[LightCyan]}${idsST[Bold]}\u003D${idsST[Reset]} "
else
echo -en " "
fi