Update powerwall.sh

This commit is contained in:
2023-05-14 17:01:05 -05:00
parent f0010811d5
commit 3f804ff53a

View File

@@ -18,7 +18,7 @@ VERBOSE=false
CHECKTEMP(){
[ "${1}" != "" ] && SENSORS=("${1}") || SENSORS=SENSOR_ID[@]
for x in "${!SENSOR_ID[@]}"; do printf "[%s]=%s\n" "$x" "${SENSOR_ID[$x]}" ; done
for x in "${!SENSORS[@]}"; do printf "[%s]=%s\n" "$x" "${SENSORS[$x]}" ; done
for x in "${!SENSORS}"; do printf "[%s]=%s\n" "$x" "${SENSORS[$x]}" ; done
for SENSOR in ${!SENSORS}; do
echo "HERE: ${SENSORS[${SENSOR}]}"