This commit is contained in:
2024-12-19 17:43:54 -06:00
parent 2c6f5794e5
commit 2e7d241a4f
2 changed files with 3 additions and 7 deletions

View File

@@ -21,13 +21,9 @@ START_POWERWALL_FAN(){
temp_c=$(${PWCMD} cat ${PW_FANINPUT})
if [ ${temp_c} -gt 0 ]; then
fs=$(IDS_NUMBER_FORMAT ${temp_c})
SENDNOTICE "Starting up the ${SENSOR}" "Startup confirmed, the fan is now reading: ${fs}'RPM
FAN: ${PW_FANINPUT}"
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!!!
FAN: ${PW_FANINPUT}" 1
SENDNOTICE "FAILED to start ${SENSOR}" "Cannot start the fan, ERROR WILL ROBINSON!!!" 1
fi
else
SENDNOTICE "FAILED to start ${SENSOR}" "Cannot find hardware, ERROR ERROR ERROR... DOES NOT COMPUTE... YOU SUCK" 1