Update powerwall.sh

This commit is contained in:
2023-11-07 09:45:55 -06:00
parent 528b3cbd5c
commit c8efdc68c0

View File

@@ -36,7 +36,7 @@ CHECKTEMP(){
DIVIDER . yellow 90
for SENSOR in ${PW_SENSOR_ORD[@]}; do
echo "${SENSOR,,} =~ ${search,,}"
if [ "${search}" == "" ] || [[ "${SENSOR,,}" =~ *"${search,,}"* ]]; then
if [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "esxi" ]; then