Update temp.inc.sh

This commit is contained in:
2024-02-14 22:21:22 -06:00
parent 385b53dddf
commit 7f36ce7688

View File

@@ -96,7 +96,7 @@ CHECKTEMP(){
echo -e "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading}${idsCL[Default]}"
else
if [ "${avgdays}" != "noavg" ]; then
([ "${avgdays}" == "" ] && avgdays=3d
[ "${avgdays}" == "" ] && avgdays=3d
average=$(AVERAGETEMP ${SENSOR} ${avgdays})
echo -e "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading}${idsCL[Default]}"
else