Update powerwall.sh

This commit is contained in:
2023-12-11 16:04:40 -06:00
parent 4ea538c507
commit 9be5aa42a7

View File

@@ -873,7 +873,7 @@ BATT VOLTAGE: ${BATTVOLT}'volts"
fi
if [ ! -f ${PW_TMPFOLDER}/power.ac.good ]; then
if [ -f ${PW_TMPFOLDER}/power.sys.off ] || [ -f ${PW_TMPFOLDER}/power.main.off ] || [ -f ${PW_TMPFOLDER}/power.ac.conserve ]
if [ -f ${PW_TMPFOLDER}/power.sys.off ] || [ -f ${PW_TMPFOLDER}/power.main.off ] || [ -f ${PW_TMPFOLDER}/power.ac.conserve ]; then
SENDNOTICE "HOSTS POWER" "Power restored! Will wait 3'mins before turning host(s) back on"
touch ${PW_TMPFOLDER}/.power.restored
fi