{
  "id": "3jl88dkja1-0d2b-9fc6-3a0c-1e6354b7e751",
  "name": "INNOPRO ZB温湿度传感器",
  "expands": {
    "category": "wsdcg"
  },
  "properties": [{
    "id": "temperature",
    "name": "当前温度",
    "accessMode": "r",
    "dataType": {
      "type": "float",
      "min": "-20",
      "max": "60",
      "step": "0.1",
      "unit": "℃"
    },
    "expands": {
      "code": "va_temperature",
      "reportMethod": 2,
      "scalingFactor": 0.1
    },
    "remark": ""
  }, {
    "id": "humidity",
    "name": "湿度数值",
    "accessMode": "r",
    "dataType": {
      "type": "int",
      "min": "0",
      "max": "100",
      "step": "1",
      "unit": "%"
    },
    "expands": {
      "code": "va_humidity",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  }, {
    "id": "batteryLevel",
    "name": "电池电量",
    "accessMode": "r",
    "dataType": {
      "type": "int",
      "min": "0",
      "max": "100",
      "step": "1",
      "unit": "%"
    },
    "expands": {
      "code": "battery_percentage",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  }, {
    "id": "tempUnitConvert",
    "name": "温标切换",
    "accessMode": "rw",
    "dataType": {
      "type": "enum",
      "elements": [{
        "value": "c",
        "key": "",
        "text": "摄氏温标"
      }, {
        "value": "f",
        "key": "",
        "text": "华氏温标"
      }]
    },
    "expands": {
      "code": "temp_unit_convert",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  }],
  "functions": [],
  "events": [],
  "protocol": {
    "type": "TUYA-HTTP",
    "expands": {
      "device_id": ""
    }
  }
}