Remove 1deg diff in temperature check
This commit is contained in:
parent
3b6c4cfbb0
commit
a5d40fd97b
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -45,7 +45,7 @@ def main():
|
||||||
temp_bedroom = float(bedroom["state"])
|
temp_bedroom = float(bedroom["state"])
|
||||||
temp_outside = float(outside["state"])
|
temp_outside = float(outside["state"])
|
||||||
print()
|
print()
|
||||||
if temp_outside < temp_bedroom - 1:
|
if temp_outside < temp_bedroom:
|
||||||
print("Il fait plus FRAIS dehors, tu peux ouvrir !")
|
print("Il fait plus FRAIS dehors, tu peux ouvrir !")
|
||||||
else:
|
else:
|
||||||
print("FERME TOUT !")
|
print("FERME TOUT !")
|
||||||
|
|
Loading…
Reference in a new issue