From 67c8f7cfcf26fc1f81a3475befcc84516b1a5866 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 27 Feb 2024 09:29:58 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index bbcef89b..daaaf9dd 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -596,6 +596,7 @@ CHECKTEMP_SERVICE_RUNSENSOR(){ mqtt_message=`${mqtt_conn} -t tele/${SENSOR}/SENSOR -C 1` echo ${mqtt_message} | cut -d':' -f 7 | cut -d',' -f 1 | read temp_h echo ${mqtt_message} | cut -d':' -f 6 | cut -d',' -f 1 | read temp_c + echo "${SENSORa} = ${temp_c} - ${temp_h}" elif [ "${PW_SENSOR_TYPE[${1}]}" == "tuya" ]; then IFS=: read -r temp_c temp_h <<< $(GET_TUYA_TEMP ${1}); unset IFS