Update temp.inc.sh

This commit is contained in:
2024-04-21 16:22:19 -05:00
parent dd94488813
commit a8a69d076e

View File

@@ -131,9 +131,9 @@ CHECKTEMP(){
if [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then
reading="${reading} ${idsCL[LightRed]}\u2B06 "
elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)") -eq 1 ]; then
reading="${reading} ${idsCL[LightGreen]}\u2B07 "
reading="${reading} ${idsCL[LightGreen]}\u25B2 "
elif [ "${temp_f}" == "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)" ]; then
reading="${reading} ${idsCL[LightCyan]}${idsST[Bold]}\u003D${idsST[Reset]} "
reading="${reading} ${idsCL[LightCyan]}${idsST[Bold]}\u25BC${idsST[Reset]} "
else
reading="${reading} "
fi