Commit 22eb8db6 authored by Jorge Suárez de Lis's avatar Jorge Suárez de Lis 💭
Browse files

Modified the temperature ranges for the CL icon

parent a39d315e
......@@ -687,10 +687,10 @@ def update_temperature():
if(cl_data):
try:
# For CL02-04, when VAV data is present
if(abs(cl_temperatura-cl_temp_impulsion)>3) and cl_compuerta>50:
if((abs(cl_temperatura-cl_temp_impulsion)>3) and cl_compuerta>50) or ((abs(cl_temperatura-cl_temp_impulsion)>5) and cl_compuerta>35):
cl_modo = "cl_cool_2"
cl_modo_s = _("Cooling at %dºC") % cl_temp_impulsion
elif(abs(cl_temperatura-cl_temp_impulsion)>1) and cl_compuerta>10:
elif((abs(cl_temperatura-cl_temp_impulsion)>1) and cl_compuerta>10) or ((abs(cl_temperatura-cl_temp_impulsion)>5) and cl_compuerta>2):
cl_modo = "cl_cool_1"
cl_modo_s = _("Cooling at %dºC") % cl_temp_impulsion
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment