From 70854a82d0ae5e018696a34bf99b529e1a18c540 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 10 Apr 2024 10:39:18 -0500 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 797fcc1f..94b75251 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -361,6 +361,7 @@ CHECKTEMPSENSOR(){ elif [ "${PW_SENSOR_TYPE[${1}]}" == "esphome" ]; then if ! temp_c=$(curl -m 8 -s GET -H "Authorization: Bearer ${PW_ESPHOME_API}" http://10.10.1.180:8123/api/states/sensor.${PW_SENSOR_DEVICEID[${1}]}_temperature) ; then TIMEOUT=1; fi if [ "${temp_c}" != "" ]; then + echo "HERE: ${temp_c}" temp_f=`IDS_NUMBER_FORMAT ${temp_c} 2 yes` temp_h=`IDS_NUMBER_FORMAT $(curl -m 8 -s GET -H "Authorization: Bearer ${PW_ESPHOME_API}" http://10.10.1.180:8123/api/states/sensor.${PW_SENSOR_DEVICEID[${1}]}_humidity) 2 yes` else