Update defaults.inc

This commit is contained in:
2023-12-30 15:58:37 -06:00
parent 7a601f8dde
commit 42c57f1dbb

View File

@@ -72,14 +72,16 @@ fi
SENDNOTICE(){
if [ "${PUSHOVER_APP_TOKEN}" != "" ]; then
MSG=${2/\%/\%25}
if [ "${TEST_INPUTACV}" != "" ] || [ "${TEST_BATTVOLT}" != "" ]; then
PUSH_TO_MOBILE "***TEST MODE***
${2/\%/\%25}
${MSG}
$(date)" "${1}" ${3} &
else
PUSH_TO_MOBILE "${2/\%/\%25}
echo "HERE: ${MSG}: DONE"
PUSH_TO_MOBILE "${MSG}
$(date)" "${1}" ${3} &
fi