Explorar el Código

replace control group's space

chenhaiyang hace 4 años
padre
commit
c9a182fead

+ 1 - 1
app/controllers/equipment/events.py

@@ -58,5 +58,5 @@ async def regulate_ventilation_fan_switch():
 
 @repeat_every(seconds=60 * 15)
 async def run_control_group():
-    await start_control_group_mode('Eq11010802593129d7ff3d9b4fd296f30927fd8fb76d', 25.0)
+    await start_control_group_mode('Eq1101080259ea519ed43678481c8a8c108fa85e5aa3', 25.0)
     await start_control_group_mode('Eq11010802598449efe230f444cca826e840dbf67f41', 25.0)

+ 1 - 1
app/controllers/equipment/fcu/on_ratio.py

@@ -227,7 +227,7 @@ async def start_control_group_mode(device_id: str, target: float):
 
         await send_instructions(
             device_id,
-            regulated_fcu.running_status,
+            True,
             speed_value_dict.get(regulated_fcu.air_valve_speed),
             regulated_fcu.running_status
         )