From a52aae8d770ba5223b78f9c274881eab2d5763ef Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 26 Dec 2023 21:51:14 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 7e6fc9bd..9fb1a1d0 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -665,11 +665,10 @@ SENDTEMP(){ if [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "cpu" ]; then GAUGESH="'%" elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "system" ] && [[ "${SENSOR}" = *"FAN"* ]]; then - GAUGESH="'R" + GAUGESH="'RPM" else GAUGESH="'F" fi - echo "HERE: ${GAUGESH}" [ "${last_sensor}" != "" ] && [ "${last_sensor}" != "${SENSOR%%-*}" ] && echo if [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "mqtt" ]; then mqtt_message=`${mqtt_conn} -t tele/${SENSORa}/SENSOR -C 1` @@ -736,7 +735,7 @@ SENDTEMP(){ fi (( $(bc <<<"${temp_f} < 1") )) && [[ "${temp_f}" = *"."* ]] && temp_f="0${temp_f}" fi - [ "${1}" != "" ] && echo -e "${SENSOR}${spc}${temp_f}${GUAGESH} / ${average1}${GUAGESH} / ${average7}${GUAGESH}" || echo -e "${SENSOR}${spc}${temp_f}${GUAGESH}" + [ "${1}" != "" ] && echo -e "${SENSOR}${spc}${temp_f}${GAUGESH} / ${average1}${GAUGESH} / ${average7}${GAUGESH}" || echo -e "${SENSOR}${spc}${temp_f}${GAUGESH}" else echo -e "${SENSOR}${spc}No Data"