Update powerwall.sh
This commit is contained in:
@@ -316,7 +316,7 @@ CHECKTEMP_SERVICE(){
|
|||||||
|
|
||||||
echo 1
|
echo 1
|
||||||
if (( $(bc <<< "${temp_f} < ${temp_warn}") )); then
|
if (( $(bc <<< "${temp_f} < ${temp_warn}") )); then
|
||||||
echo 2
|
echo "2 - ${last_temp[${SENSOR}]}"
|
||||||
if (( $(bc <<< "${last_temp[${SENSOR}]} > 1") )); then
|
if (( $(bc <<< "${last_temp[${SENSOR}]} > 1") )); then
|
||||||
SENDNOTICE "${SENSOR} BACK TO NORMAL" "NORMAL TEMP: ${temp_f}${GAUGESH}
|
SENDNOTICE "${SENSOR} BACK TO NORMAL" "NORMAL TEMP: ${temp_f}${GAUGESH}
|
||||||
Previous Temp: ${last_temp[${SENSOR}]}${GAUGESH}"
|
Previous Temp: ${last_temp[${SENSOR}]}${GAUGESH}"
|
||||||
|
|||||||
Reference in New Issue
Block a user