{
  "schema":"devcap1.schema.json",
  "manufacturername":"3A Smart Home DE",
  "modelid":"LXN59-2S7LX1.0",
  "product":"2 gang switch",
  "sleeper":false,
  "status":"Gold",
  "subdevices":[
    {
      "type":"$TYPE_ON_OFF_LIGHT",
      "restapi":"/lights",
      "uuid":[
        "$address.ext",
        "0x01"
      ],
      "items":[
        {
          "name":"attr/id"
        },
        {
          "name":"attr/lastannounced"
        },
        {
          "name":"attr/lastseen"
        },
        {
          "name":"attr/manufacturername"
        },
        {
          "name":"attr/modelid"
        },
        {
          "name":"attr/name"
        },
        {
          "name":"attr/swversion"
        },
        {
          "name":"attr/type"
        },
        {
          "name":"attr/uniqueid"
        },
        {
          "name":"state/alert",
          "default":"none"
        },
        {
          "name":"state/on"
        },
        {
          "name":"state/reachable"
        }
      ]
    },
    {
      "type":"$TYPE_ON_OFF_LIGHT",
      "restapi":"/lights",
      "uuid":[
        "$address.ext",
        "0x02"
      ],
      "items":[
        {
          "name":"attr/id"
        },
        {
          "name":"attr/lastannounced"
        },
        {
          "name":"attr/lastseen"
        },
        {
          "name":"attr/manufacturername"
        },
        {
          "name":"attr/modelid"
        },
        {
          "name":"attr/name"
        },
        {
          "name":"attr/swversion"
        },
        {
          "name":"attr/type"
        },
        {
          "name":"attr/uniqueid"
        },
        {
          "name":"state/alert",
          "default":"none"
        },
        {
          "name":"state/on"
        },
        {
          "name":"state/reachable"
        }
      ]
    }
  ],
  "bindings":[
    {
      "bind":"unicast",
      "src.ep":1,
      "dst.ep":1,
      "cl":"0x0006",
      "report":[
        {
          "at":"0x0000",
          "dt":"0x10",
          "min":5,
          "max":300
        }
      ]
    },
    {
      "bind":"unicast",
      "src.ep":2,
      "dst.ep":1,
      "cl":"0x0006",
      "report":[
        {
          "at":"0x0000",
          "dt":"0x10",
          "min":5,
          "max":300
        }
      ]
    }
  ]
}
