Update temp.inc.sh

This commit is contained in:
2024-04-22 21:37:19 -05:00
parent 13fece9786
commit f19fbeb4f0

View File

@@ -135,9 +135,9 @@ CHECKTEMP(){
elif [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then
reading="${reading} ${idsCL[Magenta]}\u25B2 "
elif [ $(bc -l <<< "${temp_f} < $(bc <<< "scale=2; $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)-(${PW_TEMPIND_DIFF}*2)")") -eq 1 ]; then
reading="${reading} ${idsCL[LightGreen]}${idsST[Bold]}\u25BC${idsST[Reset]} "
reading="${reading} ${idsCL[Green]}${idsST[Bold]}\u25BC${idsST[Reset]} "
elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)") -eq 1 ]; then
reading="${reading} ${idsCL[LightGreen]}\u25BC "
reading="${reading} ${idsCL[Green]}\u25BC "
else
reading="${reading} "
fi