Update temp.inc.sh

This commit is contained in:
2024-04-21 14:41:28 -05:00
parent 1baa7daff4
commit d7f09cb981

View File

@@ -132,6 +132,8 @@ CHECKTEMP(){
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 "
elif [ "${temp_f}" == "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)" ]; then
reading="${reading} ${idsCL[LightCyan]}="
else
reading="${reading} "
fi