Update temp.inc.sh
This commit is contained in:
@@ -618,7 +618,6 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
|
|||||||
temp_c=`IDS_NUMBER_FORMAT $(echo ${INFO} | jq -r '.device0 .obs[].ambient_temp') 2 yes`
|
temp_c=`IDS_NUMBER_FORMAT $(echo ${INFO} | jq -r '.device0 .obs[].ambient_temp') 2 yes`
|
||||||
temp_h=`IDS_NUMBER_FORMAT $(echo ${INFO} | jq -r '.device0 .obs[].humidity') 2 yes`
|
temp_h=`IDS_NUMBER_FORMAT $(echo ${INFO} | jq -r '.device0 .obs[].humidity') 2 yes`
|
||||||
fi
|
fi
|
||||||
temp_h=$(echo ${INFO} | jq -r '.device0 .obs[].humidity')
|
|
||||||
|
|
||||||
elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "system" ]; then
|
elif [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "system" ]; then
|
||||||
if [[ "${SENSOR}" = *"CPU"* ]]; then
|
if [[ "${SENSOR}" = *"CPU"* ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user