From 919c01daafaad8b46b2b49c266535a43d82e9b5c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 14 May 2023 17:26:13 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index 99774071..c13c8436 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -42,11 +42,11 @@ CHECKTEMPSENSOR(){ echo ${TEMP_THRESHOLDS[${1}]} | cut -d',' -f 2 | read temp_crit if [ $(bc -l <<< "$temp_f >= $temp_warn") -eq 1 ] && [ $(bc -l <<< "$temp_f < $temp_crit") -eq 1 ]; then - echo -e "${idsCL[LightMagenta]}WARNING: $temp_f°F${idsCL[Default]}" + echo -e "${idsCL[LightMagenta]}WARNING - $temp_f°F${idsCL[Default]}" elif [ $(bc -l <<< "$temp_f >= $temp_crit") -eq 1 ]; then - echo -e "${idsCL[Red]}CRITICAL: $temp_f°F${idsCL[Default]}" + echo -e "${idsCL[Red]}CRITICAL - $temp_f°F${idsCL[Default]}" else - echo -e "${idsCL[Green]}normal: $temp_f°F${idsCL[Default]}" + echo -e "${idsCL[Green]}Normal - $temp_f°F${idsCL[Default]}" fi fi }