Update temp.inc.sh

This commit is contained in:
2024-01-10 15:19:59 -06:00
parent 8a5c4064f3
commit 89a90bac58

View File

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