{
  "type": "state",
  "common": {
    "type": "boolean",
    "read": true,
    "write": true,
    "name": "switch",
    "role": "switch",
    "custom": {
      "history.0": {
        "enabled": true,
        "aliasId": "",
        "debounceTime": 0,
        "blockTime": 0,
        "changesOnly": false,
        "changesRelogInterval": "0",
        "changesMinDelta": 0,
        "ignoreBelowNumber": "",
        "disableSkippedValueLogging": false,
        "retention": 15811200,
        "customRetentionDuration": 365,
        "maxLength": 30,
        "enableDebugLogs": false,
        "debounce": 0
      },
      "iqontrol.0": {
        "0": "",
        "1": "",
        "2": "",
        "enabled": true,
        "invert": false,
        "confirm": false,
        "pincode": "",
        "step": "",
        "roundDigits": 2,
        "timeFormat": "x",
        "timeDisplayFormat": "dddd, DD.MM.YYYY HH:mm:ss",
        "timeDisplayDontShowDistance": false,
        "targetValueId": "",
        "statesAddInput": false,
        "statesAddInputCaption": "Enter other value...",
        "showOnlyTargetValues": false,
        "readonly": true,
        "unit": "",
        "unit_zero": "",
        "unit_one": "",
        "min": "",
        "max": "",
        "type": "boolean",
        "role": "switch"
      }
    }
  },
  "native": {
    "code": "switch",
    "defaultValue": "",
    "canTrigger": true,
    "type": "obj",
    "executable": true,
    "mode": "rw",
    "defaultRecommend": false,
    "name": "开关",
    "property": {
      "type": "bool"
    },
    "id": 1,
    "editPermission": false
  },
  "_id": "tuya.0.bf551f2c643999b0b7uvis.1",
  "acl": {
    "object": 1636,
    "state": 1636,
    "owner": "system.user.admin",
    "ownerGroup": "system.group.administrator"
  },
  "from": "system.adapter.tuya.0",
  "user": "system.user.admin",
  "ts": 1670016434966
}