Remove 1deg diff in temperature check

This commit is contained in:
Gabriel Augendre 2020-08-02 00:47:03 +02:00
parent 3b6c4cfbb0
commit a5d40fd97b
No known key found for this signature in database
GPG Key ID: 1E693F4CE4AEE7B4
1 changed files with 1 additions and 1 deletions

View File

@ -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 !")