Could not get device by ID and multiple onoff Capability - Zigbee

Hi,

my code for device.js

"zigbee": {
    "manufacturerName": [
      "LUMI"
    ],
    "productId": "lumi.switch.l3acn1",

Device Interview:

 "ids": {
    "modelId": "lumi.switch.l3acn1",
    "manufacturerName": "LUMI"
  },

From what I’ve been reading, the device interview’s ‘modelId’ is the data field for the code’s ‘productId’.

What am i doing wrong?

Secondly,
if i have

"class": "light",
  "capabilities": {
    "onoff.a": {
      "title": {
        "en": "A On/Off"
      }
    },
    "onoff.b": {

    },
    "onoff.c": {

    }
  },

How can i get 3 x onoff switches on my app?

TIA.

The error “could not get device by ID” is unrelated to anything you’re showing, it usually happens when you try to access a device that’s already been deleted.