Skip to content

Commit 585ef68

Browse files
committed
0.2.197
1 parent ed4545b commit 585ef68

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

monitor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# ----------------------------------------------------------------------------------------
2626

2727
#VERSION NUMBER
28-
export version=0.2.196
28+
export version=0.2.197
2929

3030
#COLOR OUTPUT FOR RICH OUTPUT
3131
ORANGE=$'\e[1;33m'

support/mqtt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -319,15 +319,7 @@ publish_presence_message () {
319319
#PRINT FOR DEVICE TRACKER
320320
if [ $PREF_VERBOSE_LOGGING == true ]; then
321321
log "${YELLOW}[CMD-MQTT]${NC} ${YELLOW}$topic/$PREF_DEVICE_TRACKER_TOPIC_BRANCH $device_tracker_message${NC}"
322-
323-
elif [[ "${message,,}" =~ \"confidence\":\"([0-9]{1,3})\" ]]; then
324-
325-
#GET CONFIDENCE VALUE
326-
confidence_printable="${BASH_REMATCH[1]}"
327-
328-
#EXTRACT CONFIDENCE VALUE TO POST
329-
log "${YELLOW}[CMD-MQTT]${NC} ${YELLOW}$topic/$PREF_DEVICE_TRACKER_TOPIC_BRANCH { ... confidence : $confidence_printable ... } ${NC}"
330-
fi
322+
fi
331323
fi
332324
fi
333325

0 commit comments

Comments
 (0)