I took a copy of this battery low piston I found here and everything seems great except when a device hits the threshold. When this happens, the triggered warning happens repeatedly instead of once a day.
Any ideas?
I took a copy of this battery low piston I found here and everything seems great except when a device hits the threshold. When this happens, the triggered warning happens repeatedly instead of once a day.
Any ideas?
You’re right, I don’t know what I was thinking remove the value from lastDay variable, right after the push notification in line 47 add the following…
set variable lastDay = $day