Update temp.inc.sh
This commit is contained in:
@@ -366,6 +366,7 @@ CHECKTEMPSENSOR(){
|
|||||||
else
|
else
|
||||||
temp_c=''
|
temp_c=''
|
||||||
fi
|
fi
|
||||||
|
echo $temp_f
|
||||||
|
|
||||||
elif [ "${PW_SENSOR_TYPE[${1}]}" == "tuya" ]; then
|
elif [ "${PW_SENSOR_TYPE[${1}]}" == "tuya" ]; then
|
||||||
IFS=: read -r temp_c temp_h <<< $(GET_TUYA_TEMP ${1}); unset IFS
|
IFS=: read -r temp_c temp_h <<< $(GET_TUYA_TEMP ${1}); unset IFS
|
||||||
|
|||||||
Reference in New Issue
Block a user