Update powerwall.sh

This commit is contained in:
2023-08-16 17:52:10 -05:00
parent 1e6d87a65c
commit c54fb9384c

View File

@@ -196,7 +196,7 @@ CHECKTEMP_SERVICE(){
temp_crit=$(echo ${SENSOR} | cut -d'p' -f2 | awk '/ / {print $4}' | sed -e 's/C//g'); temp_crit=${temp_crit/ /}
temp_crit_sys=$(echo ${SENSOR} | cut -d'p' -f2 | awk '/ / {print $4}' | sed -e 's/C//g'); temp_crit=${temp_crit/ /}
vSENSOR=$(echo ${SENSOR} | cut -d'T' -f1 | xargs)
SENSOR="${SENSORa}-${vSENSOR// /.}"
SENSOR="${SENSORa}-${vSENSOR// /_}"
echo "HERE: ${SENSOR} - ${temp_c} - ${temp_warn} - ${temp_crit}"