From 21134c1bc627325d113c8a42f35a81d26c94fb2f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 7 Feb 2024 09:48:27 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index 421ebcfb..209241c8 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -631,7 +631,7 @@ AMBIENT TEMP: ${OFFSITE_TEMP}'F" # curl -m 3 -sd "token=${PW_PUSHOVER_APP_TOKEN}&user=${PW_PUSHOVER_USER_TOKEN}&message=$(echo "${MESSAGE}" | sed -e "s/%/%25/g")&title=${1}&priority=${PRIORITY}&sound=cosmic" https://api.pushover.net/1/messages.json >/dev/null 2>&1 [ "${3}" != "" ] && PRIORITY=${3} || PRIORITY=0 echo -e "SENDING:\n${MESSAGE}\n" - SENDNOTICE ${1} ${MESSAGE} ${PRIORITY} cosmic + SENDNOTICE "${1}" "${MESSAGE}" ${PRIORITY} cosmic } if [ "${startup}" = "true" ]; then echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${OFFSITE_VOLTIN}'volts - ${OFFSITE_WATTS}'watts - ${OFFSITE_BATT_CAP}'% Battery - ${OFFSITE_BATT_RUNTIME}'mins - Service startup" >> ${PW_LOGPOWER}