Update temp.inc.sh

This commit is contained in:
2024-02-25 15:03:42 -06:00
parent 777a6f07fe
commit e39c6e417f

View File

@@ -345,7 +345,6 @@ CHECKTEMPSENSOR(){
elif [ "${PW_SENSOR_TYPE[${1}]}" == "tuya" ]; then
IFS=: read -r temp_c hum <<< $(GET_TUYA_TEMP ${1}); unset IFS
echo "HERE: $temp_c - $hum"
elif [ "${PW_SENSOR_TYPE[${1}]}" == "lacrosse" ]; then
if ! INFO=$(curl -m 8 -s --get -d "deviceid=${PW_SENSOR_DEVICEID[${SENSOR}]}" -d "limit=1" -d "metric=1" -d "timezone=2" https://decent-destiny-704.appspot.com/laxservices/device_info.php) ; then TIMEOUT=1; fi