|
@@ -105,7 +105,7 @@ class SmartSceneView(View):
|
|
@param request_dict: 请求参数
|
|
@param request_dict: 请求参数
|
|
@param user_id: 用户id
|
|
@param user_id: 用户id
|
|
@request_dict deviceId: 网关设备id
|
|
@request_dict deviceId: 网关设备id
|
|
- @request_dict gatewaySubId: 子设备id
|
|
|
|
|
|
+ @request_dict subDeviceId: 子设备id
|
|
@request_dict sceneName: 场景名称
|
|
@request_dict sceneName: 场景名称
|
|
@request_dict conditions: 条件
|
|
@request_dict conditions: 条件
|
|
@request_dict tasks: 任务
|
|
@request_dict tasks: 任务
|
|
@@ -117,7 +117,7 @@ class SmartSceneView(View):
|
|
@return: response
|
|
@return: response
|
|
"""
|
|
"""
|
|
device_id = request_dict.get('deviceId', None)
|
|
device_id = request_dict.get('deviceId', None)
|
|
- sub_device_id = request_dict.get('gatewaySubId', None)
|
|
|
|
|
|
+ sub_device_id = request_dict.get('subDeviceId', None)
|
|
scene_name = request_dict.get('sceneName', None)
|
|
scene_name = request_dict.get('sceneName', None)
|
|
conditions = request_dict.get('conditions', None)
|
|
conditions = request_dict.get('conditions', None)
|
|
tasks = request_dict.get('tasks', None)
|
|
tasks = request_dict.get('tasks', None)
|