{
  "schema": "devcap1.schema.json",
  "manufacturername": ["Schneider Electric", "Schneider Electric"],
  "modelid": ["FLS/AIRLINK/4", "FLS/SYSTEM-M/4"],
  "product": "4 or 2 Button Switch wireless",
  "sleeper": true,
  "status": "Gold",
  "subdevices": [
    {
      "type": "$TYPE_SWITCH",
      "restapi": "/sensors",
      "uuid": [
        "$address.ext",
        "0x15",
        "0x0006"
      ],
      "fingerprint": { "profile": "0x0104", "device": "0x000c", "endpoint": "0x15", "in": ["0x0000", "0x0001", "0x0006", "0x0008"] },
      "items": [
        {
            "name": "config/battery",
            "parse": {"ep": 21, "cl": "0x0001", "at": "0x0021", "eval": "Item.val = Attr.val / 2"},
            "awake": true
        },
        {
          "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": "config/on"
        },
        {
          "name": "config/reachable"
        },
        {
          "name": "state/buttonevent"
        },
        {
          "name": "state/lastupdated"
        }
      ]
    }
  ],
  "bindings": [
    {
      "bind": "unicast",
      "src.ep": 21,
      "cl": "0x0006"
    },
    {
      "bind": "unicast",
      "src.ep": 22,
      "cl": "0x0006"
    },
    {
      "bind": "unicast",
      "src.ep": 21,
      "cl": "0x0008"
    },
    {
      "bind": "unicast",
      "src.ep": 22,
      "cl": "0x0008"
    },
    {
      "bind": "unicast",
      "src.ep": 21,
      "cl": "0x0001",
      "report": [ {"at": "0x0021", "dt": "0x20", "min": 300, "max": 3600, "change": "0x01" } ]
    }
  ]
}
