Update powerwall.sh
This commit is contained in:
@@ -628,7 +628,7 @@ CHECKPOWER(){
|
|||||||
echo -e "${idsCL[White]}Total Amps ${idsCL[Default]}: ${idsCL[Green]}${SVRRM_AMP}'amps${idsCL[Default]}"
|
echo -e "${idsCL[White]}Total Amps ${idsCL[Default]}: ${idsCL[Green]}${SVRRM_AMP}'amps${idsCL[Default]}"
|
||||||
if [ "${avgdays}" != "" ]; then
|
if [ "${avgdays}" != "" ]; then
|
||||||
average=$(AVERAGEPOWER ${PW_POWERSENSOR_ID['total']} ${avgdays})
|
average=$(AVERAGEPOWER ${PW_POWERSENSOR_ID['total']} ${avgdays})
|
||||||
average_disp="${idsCL[LightYellow]} `printf "%'.2f\n" ${average}`'watts"
|
average_disp="${idsCL[LightYellow]} `printf "%'.2f\n" ${average}`'watts"
|
||||||
else
|
else
|
||||||
average_disp=""
|
average_disp=""
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user