Remove 1deg diff in temperature check

master
Gabriel Augendre 3 years ago
parent 3b6c4cfbb0
commit a5d40fd97b
No known key found for this signature in database
GPG Key ID: 1E693F4CE4AEE7B4

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

Loading…
Cancel
Save