Update temp.inc.sh
This commit is contained in:
@@ -18,7 +18,8 @@ START_POWERWALL_FAN(){
|
|||||||
killall pwmconfig
|
killall pwmconfig
|
||||||
temp_c=$(cat ${PW_FANINPUT})
|
temp_c=$(cat ${PW_FANINPUT})
|
||||||
if [ ${temp_c} -gt 0 ]; then
|
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
|
else
|
||||||
SENDNOTICE "FAILED to start ${SENSOR}" "Cannot start the fan, ERROR WILL ROBINSON!!!"
|
SENDNOTICE "FAILED to start ${SENSOR}" "Cannot start the fan, ERROR WILL ROBINSON!!!"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user