|
@@ -982,7 +982,7 @@ class SmartSceneView(View):
|
|
@return: task_list
|
|
@return: task_list
|
|
"""
|
|
"""
|
|
# 只下发最后一个任务
|
|
# 只下发最后一个任务
|
|
- last_task = tasks_list[-1:]
|
|
|
|
|
|
+ last_task = tasks_list.pop()
|
|
sensor_type = int(last_task['device_type'])
|
|
sensor_type = int(last_task['device_type'])
|
|
task_temp = {
|
|
task_temp = {
|
|
'sensor_type': sensor_type,
|
|
'sensor_type': sensor_type,
|