{
  "id": "194ddbe8e-0d2b-9fc6-3a0c-1e6354b7e75",
  "name": "灯光-意博公版5路CCT-TYLC6E",
  "expands": {
    "category": "dj"
  },
  "properties": [{
    "id": "switch",
    "name": "开关",
    "accessMode": "rw",
    "dataType": {
      "type": "boolean",
      "trueText": "开机",
      "falseText": "关机",
      "trueValue": "true",
      "falseValue": "false"
    },
    "expands": {
      "code": "switch_led",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  },{
    "id": "mode",
    "name": "模式",
    "accessMode": "rw",
    "dataType": {
      "type": "enum",
      "elements": [{
        "value": "white",
        "key": "",
        "text": "白光"
      }, {
        "value": "colour",
        "key": "",
        "text": "彩光"
      },{
        "value": "scene",
        "key": "",
        "text": "场景"
      },{
        "value": "music",
        "key": "",
        "text": "音乐"
      }]
    },
    "expands": {
      "code": "work_mode",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  },{
    "id": "bright",
    "name": "亮度",
    "accessMode": "rw",
    "dataType": {
      "type": "int",
      "min": "1",
      "max": "1000",
      "step": "1",
      "unit": ""
    },
    "expands": {
      "code": "bright_value_v2",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  }, {
    "id": "temp_value",
    "name": "冷暖",
    "accessMode": "rw",
    "dataType": {
      "type": "int",
      "min": "0",
      "max": "1000",
      "step": "1",
      "unit": ""
    },
    "expands": {
      "code": "temp_value_v2",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  }, {
    "id": "colour",
    "name": "彩光模式",
    "accessMode": "rw",
    "dataType": {
      "type": "struct",
      "props": [
        {
          "id": "h",
          "name": "色调",
          "dataType": {
            "type": "int",
            "min": "0",
            "max": "360",
            "step": "1",
            "unit": ""
          }
        },
        {
          "id": "s",
          "name": "饱和度",
          "dataType": {
            "type": "int",
            "min": "0",
            "max": "1000",
            "step": "1",
            "unit": ""
          }
        },
        {
          "id": "s",
          "name": "明亮度",
          "dataType": {
            "type": "int",
            "min": "0",
            "max": "1000",
            "step": "1",
            "unit": ""
          }
        }
      ]
    },
    "expands": {
      "code": "colour_data_v2",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  }, {
    "id": "scene",
    "name": "情景模式",
    "accessMode": "rw",
    "dataType": {
      "type": "struct",
      "props": [
        {
          "id": "scene_num",
          "name": "场景数目",
          "dataType": {
            "type": "int",
            "min": "1",
            "max": "8",
            "step": "1",
            "unit": ""
          }
        },
        {
          "id": "scene_units",
          "name": "场景类型",
          "dataType": {
            "type": "struct",
            "props": [
              {
                "id": "unit_change_mode",
                "name": "场景模式",
                "dataType": {
                  "type": "enum",
                  "elements": [
                    {
                      "value": "static",
                      "key": "",
                      "text": "静态"
                    },
                    {
                      "value": "jump",
                      "key": "",
                      "text": "跳变"
                    },
                    {
                      "value": "gradient",
                      "key": "",
                      "text": "呼吸"
                    }
                  ]
                }
              },{
                "id": "unit_switch_duration",
                "name": "颜色变换速度",
                "dataType": {
                  "type": "int",
                  "min": "0",
                  "max": "100",
                  "step": "1",
                  "unit": ""
                }
              },{
                "id": "unit_gradient_duration",
                "name": "呼吸变换速度",
                "dataType": {
                  "type": "int",
                  "min": "0",
                  "max": "100",
                  "step": "1",
                  "unit": ""
                }
              },{
                "id": "bright",
                "name": "明亮度",
                "dataType": {
                  "type": "int",
                  "min": "0",
                  "max": "1000",
                  "step": "1",
                  "unit": ""
                }
              },{
                "id": "temperature",
                "name": "色温",
                "dataType": {
                  "type": "int",
                  "min": "0",
                  "max": "1000",
                  "step": "1",
                  "unit": ""
                }
              },{
                "id": "h",
                "name": "色调",
                "dataType": {
                  "type": "int",
                  "min": "0",
                  "max": "360",
                  "step": "1",
                  "unit": ""
                }
              },
              {
                "id": "s",
                "name": "饱和度",
                "dataType": {
                  "type": "int",
                  "min": "0",
                  "max": "1000",
                  "step": "1",
                  "unit": ""
                }
              },
              {
                "id": "s",
                "name": "明亮度",
                "dataType": {
                  "type": "int",
                  "min": "0",
                  "max": "1000",
                  "step": "1",
                  "unit": ""
                }
              }
            ]
          }
        }
      ]
    },
    "expands": {
      "code": "scene_data_v2",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  },{
    "id": "countdown",
    "name": "倒计时",
    "accessMode": "rw",
    "dataType": {
      "type": "int",
      "min": "0",
      "max": "86400",
      "step": "1.0",
      "unit": ""
    },
    "expands": {
      "code": "countdown_1",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  },{
    "id": "control_data",
    "name": "调节控制",
    "accessMode": "rw",
    "dataType": {
      "type": "struct",
      "props": [
        {
          "id": "change_mode",
          "name": "改变模式",
          "dataType": {
            "type": "enum",
            "elements": [
              {
                "value": "direct",
                "key": "",
                "text": "直接"
              },
              {
                "value": "gradient",
                "key": "",
                "text": "柔和"
              }
            ]
          }
        },{
          "id": "bright",
          "name": "明亮度",
          "dataType": {
            "type": "int",
            "min": "0",
            "max": "1000",
            "step": "1",
            "unit": ""
          }
        },{
          "id": "temperature",
          "name": "色温",
          "dataType": {
            "type": "int",
            "min": "0",
            "max": "1000",
            "step": "1",
            "unit": ""
          }
        },{
          "id": "h",
          "name": "色调",
          "dataType": {
            "type": "int",
            "min": "0",
            "max": "360",
            "step": "1",
            "unit": ""
          }
        },
        {
          "id": "s",
          "name": "饱和度",
          "dataType": {
            "type": "int",
            "min": "0",
            "max": "1000",
            "step": "1",
            "unit": ""
          }
        },
        {
          "id": "s",
          "name": "明亮度",
          "dataType": {
            "type": "int",
            "min": "0",
            "max": "1000",
            "step": "1",
            "unit": ""
          }
        }
      ]
    },
    "expands": {
      "code": "control_data",
      "reportMethod": 2,
      "scalingFactor": 1.0
    },
    "remark": ""
  }],
  "functions": [],
  "events": [],
  "protocol": {
    "type": "TUYA-HTTP",
    "expands": {
      "device_id": ""
    }
  }
}