Update temp.inc.sh

This commit is contained in:
2024-02-24 13:46:27 -06:00
parent 63ef44d0fa
commit bbe3b9b356

View File

@@ -586,9 +586,9 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
elif [[ "${SENSOR}" = *"FAN"* ]]; then
temp_c=$(cat /sys/class/hwmon/hwmon2/fan1_input)
temp_h=''
# if [ "${SENSOR}" == "Powerwall-FAN" ] && [ ${temp_c} -lt 1000 ]; then
# START_POWERWALL_FAN >/dev/null 2>&1 &
# fi
if [ "${SENSOR}" == "Powerwall-FAN" ] && [ ${temp_c} -lt 1000 ]; then
START_POWERWALL_FAN >/dev/null 2>&1 &
fi
fi
elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "remotesystem" ]; then