From: Siraaj Khandkar Date: Wed, 1 Aug 2018 02:17:19 +0000 (-0400) Subject: Reduce urgency for bellow-50%-energy alert X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=8903f6a74b88e9f6787b471da356bb48999df5fb;p=khatus.git Reduce urgency for bellow-50%-energy alert --- diff --git a/bin/khatus_controller b/bin/khatus_controller index ed98c34..b352f5f 100755 --- a/bin/khatus_controller +++ b/bin/khatus_controller @@ -148,7 +148,7 @@ function alert_check_energy( threshold, dbg, state, remaining, subj, body) { state__alerts__energy__notified_bellow_half = 1 subj = "Energy_Bellow_Half" body = sprintf("%d%% Where is the charger?", remaining) - alert_trigger_hi(subj, body) + alert_trigger_med(subj, body) } } } else {