Explorar o código

修复创建场景问题

locky hai 1 ano
pai
achega
ed98389b14
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Controller/SensorGateway/SmartSceneController.py

+ 1 - 1
Controller/SensorGateway/SmartSceneController.py

@@ -1087,7 +1087,7 @@ class SmartSceneView(View):
                     minutes = conditions_dict['time']['minutes']
                     repeat = conditions_dict['time']['repeat']
 
-                    task_temp['task_id'], task_temp['time_dict'] = cls.create_aps_job(
+                    task_temp['task_id'] = cls.create_aps_job(
                         minutes, delay_time, tz, now_time, repeat, sensor_type, event_type, serial_number)
                 mqtt_task_list.append(task_temp)
             else: