{
  "schema": "devcap1.schema.json",
  "manufacturername": [
    "EcoDim",
    "EcoDim",
    "EcoDim",
    "Namron AS",
    "Namron AS",
    "Sunricher",
    "THE LIGHT GROUP AS",
    "ROBB smarrt",
    "ROBB smarrt"
  ],
  "modelid": [
    "ED-10013",
    "ED-10014",
    "ED-10015",
    "4512703",
    "4512721",
    "ZG2833K8_EU05",
    "S57003",
    "ROB_200-007-0",
    "ROB_200-025-0"
  ],
  "matchexpr": "R.endpoints.length === 4",
  "product": "8 Button Wall Switch",
  "sleeper": true,
  "status": "Gold",
  "subdevices": [
    {
      "type": "$TYPE_SWITCH",
      "restapi": "/sensors",
      "uuid": ["$address.ext", "0x01", "0x0006"],
      "fingerprint": {
        "profile": "0x0104",
        "device": "0x0001",
        "endpoint": "0x01",
        "in": [
          "0x0000",
          "0x0001",
          "0x1000"
        ],
        "out": [
          "0x0005",
          "0x0006",
          "0x0008"
        ]
      },
      "meta": {"group.endpoints": [1, 2, 3, 4] },
      "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": "config/battery",
          "parse": {"at": "0x0021", "cl": "0x0001", "ep": 1, "eval": "Item.val = Attr.val"},
          "read": {"fn": "zcl:attr", "ep": 1, "cl": "0x0001", "at": "0x0021"},
          "refresh.interval": 4000,
          "awake": true
        },
        {
          "name": "config/group",
          "default": "auto,auto,auto,auto"
        },
        {
          "name": "config/on"
        },
        {
          "name": "config/reachable"
        },
        {
          "name": "state/buttonevent",
          "awake": true
        },
        {
          "name": "state/lastupdated"
        }
      ]
    }
  ],
  "bindings": [
    {
      "bind": "unicast",
      "src.ep": 1,
      "cl": "0x0001",
      "report": [
        {
          "at": "0x0021",
          "dt": "0x20",
          "min": 60,
          "max": 3600,
          "change": "0x00000001"
        }
      ]
    },
    {
      "bind": "groupcast",
      "config.group": 0,
      "src.ep": 1,
      "cl": "0x0006"
    },
    {
      "bind": "groupcast",
      "config.group": 0,
      "src.ep": 1,
      "cl": "0x0008"
    },
    {
      "bind": "groupcast",
      "config.group": 1,
      "src.ep": 2,
      "cl": "0x0006"
    },
    {
      "bind": "groupcast",
      "config.group": 1,
      "src.ep": 2,
      "cl": "0x0008"
    },
    {
      "bind": "groupcast",
      "config.group": 2,
      "src.ep": 3,
      "cl": "0x0006"
    },
    {
      "bind": "groupcast",
      "config.group": 2,
      "src.ep": 3,
      "cl": "0x0008"
    },
    {
      "bind": "groupcast",
      "config.group": 3,
      "src.ep": 4,
      "cl": "0x0006"
    },
    {
      "bind": "groupcast",
      "config.group": 3,
      "src.ep": 4,
      "cl": "0x0008"
    }
  ]
}