From a5d40fd97bf0ce094078040d914a2df18860457e Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 2 Aug 2020 00:47:03 +0200 Subject: [PATCH] Remove 1deg diff in temperature check --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 55c23af..4671252 100644 --- a/main.py +++ b/main.py @@ -45,7 +45,7 @@ def main(): temp_bedroom = float(bedroom["state"]) temp_outside = float(outside["state"]) print() - if temp_outside < temp_bedroom - 1: + if temp_outside < temp_bedroom: print("Il fait plus FRAIS dehors, tu peux ouvrir !") else: print("FERME TOUT !")