From 7ffb31332cac3ad6b9569fe379a5ff6d12e73e36 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 28 Oct 2024 15:25:24 -0500 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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