diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index ffb34a4a..a8627995 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -1502,8 +1502,8 @@ GET_DEFAULT_FANSPEED(){ } GET_TUYA_TEMP(){ - INFO=$(curl -m 3 -s http://${PW_REMOTE_SENSOR[${1}]}:8888/status/${PW_SENSOR_DEVICEID[${1}]} | jq '.dps') - echo -e "\nHERE: http://${PW_REMOTE_SENSOR[${1}]}:8888/status/${PW_SENSOR_DEVICEID[${1}]} \n ${INFO}\n" + INFO=$(curl -m 3 -s http://${PW_REMOTE_SENSORS[${1}]}:8888/status/${PW_SENSOR_DEVICEID[${1}]} | jq '.dps') + echo -e "\nHERE: http://${PW_REMOTE_SENSORS[${1}]}:8888/status/${PW_SENSOR_DEVICEID[${1}]} \n ${INFO}\n" if [ "${INFO}" != "" ]; then TEMP=-1 if [ "$(echo "${INFO}" | grep '"108":')" != "" ]; then