Update temp.inc.sh

This commit is contained in:
2023-12-14 17:22:04 -06:00
parent 2c73de88d5
commit 89fa064d5c

View File

@@ -107,7 +107,7 @@ CHECKTEMPSENSOR(){
echo ${mqtt_message} | cut -d':' -f 6 | cut -d',' -f 1 | read temp_c
elif [ "${PW_SENSOR_TYPE[${1}]}" == "lacrosse" ]; then
temp_c=$(GET_LACROSSE_INFO "${PW_LACROSSE_ID[${1}]}")
temp_c=$(GET_LACROSSE_INFO "${1}")
elif [ "${PW_SENSOR_TYPE[${1}]}" == "system" ]; then
temp_c=$(vcgencmd measure_temp)