diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 97a1802b..7721ea64 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -18,7 +18,8 @@ START_POWERWALL_FAN(){ killall pwmconfig temp_c=$(cat ${PW_FANINPUT}) if [ ${temp_c} -gt 0 ]; then - SENDNOTICE "Starting up the ${SENSOR}" "Startup confirmed, the fan is now reading: `IDS_NUMBER_FORMAT ${temp_c}`'RPM" + fs=$(IDS_NUMBER_FORMAT ${temp_c}) + SENDNOTICE "Starting up the ${SENSOR}" "Startup confirmed, the fan is now reading: ${fs}'RPM" else SENDNOTICE "FAILED to start ${SENSOR}" "Cannot start the fan, ERROR WILL ROBINSON!!!" fi