Update temp.inc.sh

This commit is contained in:
2024-10-28 15:25:24 -05:00
parent 0673a4b5ed
commit 7ffb31332c

View File

@@ -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