Update temp.inc.sh
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user