From a360090f161c36ba380af7e04b1544a57bf6e589 Mon Sep 17 00:00:00 2001 From: Obbart Date: Fri, 19 Dec 2025 22:12:26 +0100 Subject: [PATCH] fixed key to short poll time --- upsmon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upsmon.py b/upsmon.py index 8fce46a..7fe24eb 100644 --- a/upsmon.py +++ b/upsmon.py @@ -63,7 +63,7 @@ def main() -> int: obj=(data, {"upsname":tag}) )) - sleep(T_LONG if data.get("STATUS", "ONLINE") == "ONLINE" else T_SHORT) + sleep(T_LONG if data.get("status", "ONLINE") == "ONLINE" else T_SHORT) i += 1 except KeyboardInterrupt: LOGGER.warning("Stopping...")