From: Martin Mares Date: Thu, 28 Jul 2022 14:42:03 +0000 (+0200) Subject: Auto: Fix loft fan logic X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=28e086b37b7929574a3fb846c9efaac14a052426;p=home-hw.git Auto: Fix loft fan logic --- diff --git a/auto/burrow-auto b/auto/burrow-auto index 1f3b1ed..36b2461 100755 --- a/auto/burrow-auto +++ b/auto/burrow-auto @@ -151,6 +151,11 @@ def auto_loft_fan(): fs = 3 else: fs = 1 + else: + if st.min in range(10, 15): + fs = 2 + else: + fs = 0 st.set("loft/fan", fs)