diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index b0acd51d..9cc35ee4 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -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)