Update temp.inc.sh
This commit is contained in:
@@ -77,7 +77,7 @@ CHECKTEMP(){
|
|||||||
echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${idsCL[Yellow]}"
|
echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${idsCL[Yellow]}"
|
||||||
[ "${avgdays}" != "noavg" ] && echo -en "Pulling data and calculating ${avgdays} Day average ... " || echo -en "Pulling data ... "
|
[ "${avgdays}" != "noavg" ] && echo -en "Pulling data and calculating ${avgdays} Day average ... " || echo -en "Pulling data ... "
|
||||||
reading=$(CHECKTEMPSENSOR ${SENSOR} . . . . ${avgdays})
|
reading=$(CHECKTEMPSENSOR ${SENSOR} . . . . ${avgdays})
|
||||||
[ "${SENSOR}" == "ServerRoomTH" ] && tastemp=" - $(GET_TASMOTA_INFO)" || tastemp=""
|
[ "${SENSOR}" == "ServerRoomTH" ] && tastemp=" - $(GET_TASMOTA_INFO ServerRoomTH)" || tastemp=""
|
||||||
echo -e "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading}"
|
echo -e "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading}"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user