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"