{
  "id": "5ecc2276-0db9-4eea-b558-ad1d25cc9d4d",
  "name": "Zigbee窗帘电机",
  "expands": {
    "category": "cl",
    "deviceType": "cl"
  },
  "properties": [{
    "id": "control",
    "name": "控制",
    "accessMode": "rw",
    "dataType": {
      "type": "enum",
      "elements": [{
        "value": "open",
        "key": "",
        "text": "打开"
      }, {
        "value": "stop",
        "key": "",
        "text": "停止"
      }, {
        "value": "close",
        "key": "",
        "text": "关闭"
      }, {
        "value": "continue",
        "key": "",
        "text": "继续"
      }]
    },
    "expands": {
      "code": "control",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  },{
    "id": "percent_control",
    "name": "开启百分比控制",
    "accessMode": "rw",
    "dataType": {
      "type": "int",
      "min": "0",
      "max": "100",
      "step": "1",
      "unit": "%"
    },
    "expands": {
      "code": "percent_control",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  },{
    "id": "control_back_mode",
    "name": "电机反转模式",
    "accessMode": "rw",
    "dataType": {
      "type": "enum",
      "elements": [{
        "value": "forward",
        "key": "",
        "text": "向前"
      }, {
        "value": "back",
        "key": "",
        "text": "向后"
      }]
    },
    "expands": {
      "code": "control_back_mode",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  },{
    "id": "percent_state",
    "name": "开启百分比状态",
    "accessMode": "r",
    "dataType": {
      "type": "int",
      "min": "0",
      "max": "100",
      "step": "1",
      "unit": "%"
    },
    "expands": {
      "code": "percent_state",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  }, {
    "id": "fault",
    "name": "自动开启",
    "accessMode": "r",
    "dataType": {
      "type": "string",
      "length": "100"
    },
    "expands": {
      "code": "fault",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  }],
  "functions": [],
  "events": [],
  "protocol": {
    "type": "Tuya-Http",
    "expands": {
      "device_id": ""
    }
  }
}