diff --git a/inc/power.inc.sh b/inc/power.inc.sh index 01d8b09a..1fa01228 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -1215,7 +1215,7 @@ OFFSITE_SENDPOWER(){ GET_TUYA_POWER(){ INFO=$(curl -m 3 -s http://${PW_REMOTE_SENSOR[${1}]}:8888/status/${PW_SENSOR_DEVICEID[${1}]} | jq '.dps') - echo "HERE: 'http://${PW_REMOTE_SENSOR[${1}]}:8888/status/${PW_SENSOR_DEVICEID[${1}]}' = ${INFO}" + echo "HERE: ${1} 'http://${PW_REMOTE_SENSOR[${1}]}:8888/status/${PW_SENSOR_DEVICEID[${1}]}' = ${INFO}" if [ "${INFO}" != "" ]; then WATT=-1 if [ "$(echo "${INFO}" | grep '"18":')" != "" ]; then