From 740efbd452dbd92caf08025e168bc229c2403597 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 27 Feb 2022 16:59:26 +0100 Subject: [PATCH] Iris: Shorter timeout for temperature sensors --- rainbow/iris/burrow-iris.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rainbow/iris/burrow-iris.py b/rainbow/iris/burrow-iris.py index 4724803..1a29a70 100755 --- a/rainbow/iris/burrow-iris.py +++ b/rainbow/iris/burrow-iris.py @@ -114,7 +114,7 @@ def catarium_led(): def temperature_led(): for sensor in ['loft', 'ursarium', 'garage', 'terarium']: - if st.get_sensor(f"temp/{sensor}", timeout=7200) is None: + if st.get_sensor(f"temp/{sensor}", timeout=3600) is None: return (1, 0, 0) return None -- 2.39.5