Browse Source

add logging

highing666 3 years ago
parent
commit
e68f729b43
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/controllers/equipment/fcu/early_start.py

+ 2 - 0
app/controllers/equipment/fcu/early_start.py

@@ -56,4 +56,6 @@ async def get_recommended_early_start_time(db: Session, project_id: str, space_i
     builder = EarlyStartTimeDTRBuilder(model_path)
     hour = await builder.get_prediction(indoor_temp, outdoor_temp)
 
+    logger.debug(f'{space_id}: indoor-{indoor_temp}, outdoor-{outdoor_temp}, prediction-{hour * 60}')
+
     return hour * 60