Update temp.inc.sh
This commit is contained in:
@@ -133,7 +133,7 @@ CHECKTEMP(){
|
|||||||
elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)") -eq 1 ]; then
|
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[LightGreen]}\u25BC "
|
||||||
elif [ "${temp_f}" == "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)" ]; then
|
elif [ "${temp_f}" == "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1)" ]; then
|
||||||
reading="${reading} ${idsCL[LightCyan]}\u2194 "
|
reading="${reading} ${idsCL[LightCyan]}\u27F7 "
|
||||||
else
|
else
|
||||||
reading="${reading} "
|
reading="${reading} "
|
||||||
fi
|
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
|
elif [ $(bc -l <<< "${temp_f} < $(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old | cut -d'~' -f 1)") -eq 1 ]; then
|
||||||
echo -en " ${idsCL[LightGreen]}\u25BC "
|
echo -en " ${idsCL[LightGreen]}\u25BC "
|
||||||
elif [ "${temp_f}" == "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old | cut -d'~' -f 1)" ]; then
|
elif [ "${temp_f}" == "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}-${sensorname// /_}.old | cut -d'~' -f 1)" ]; then
|
||||||
echo -en " ${idsCL[LightCyan]}\u2194 "
|
echo -en " ${idsCL[LightCyan]}\u27F7 "
|
||||||
else
|
else
|
||||||
echo -en " "
|
echo -en " "
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user