Second button of double light switch does not work

Hi there,

So the problem is this: I am adding a double light switch (lerlink eu model, X712) to ZHA via my sonoff cc2531 usb. All my single switches work fine, however with my one and only double switch, the second button does not work from HA. It finds the device as one, but with two entities. The first entity (left switch) works smooth. The second entity (right switch) does not react. When pressing it on, it goes blue for like 5-10 seconds, then goes back to gray and does not turn of/turn off the light. In my HA logs I get this:

2020-12-19 17:13:10 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x7EDF:2:0x0006]: command failed: 'on' args: '()' kwargs '{}' exception: ''
2020-12-19 17:13:10 DEBUG (MainThread) [homeassistant.components.zha.entity] light.living_room_lights_2: turned on: {'on_off': TimeoutError()}

The first switch that works fine shows this:

2020-12-19 17:00:11 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x7EDF:1:0x0006]: executed 'on' command with args: '()' kwargs: '{}' result: [1, <Status.SUCCESS: 0>]
2020-12-19 17:00:11 DEBUG (MainThread) [homeassistant.components.zha.entity] light.living_room_lights_1: turned on: {'on_off': [1, <Status.SUCCESS: 0>]}

What is even more weird, if I press the button physically, the entity shows as on and stays on as long as I keep it on. When I physically press to turn off, it also instantly updates the state. I have tried adding/readding the device multiple times, including with HA restarts and my intel nuc restarts. Nothing has helped. My CC2531 has not reached its limit, I am currently at 14 devices with 14 entities, this device included.

Any help is very much appreciated. Thank you.

I have the exact same problem with Aqara D1 double. One switch is working flawlessly the other is not controllable from HA. It switches the light if the physical button is used, and the state gets updated in HA, but is not controllable.

Using CC2531 as well, and it worked perfectly with zigbee2mqtt.

2020-12-21 11:33:55 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x1F16:2:0x0006]: command failed: 'on' args: '()' kwargs '{}' exception: ''
2020-12-21 11:33:55 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x1F16:2:0x0006]: command failed: 'off' args: '()' kwargs '{}' exception: ''
Device signature
{
  "node_descriptor": "NodeDescriptor(byte1=1, byte2=64, mac_capability_flags=142, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=0, maximum_outgoing_transfer_size=100, descriptor_capability_field=0)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0001",
        "0x0002",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x000a",
        "0x0010"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "2": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0006",
        "0x0010"
      ],
      "out_clusters": []
    },
    "3": {
      "profile_id": 260,
      "device_type": "0x0009",
      "in_clusters": [
        "0x000c"
      ],
      "out_clusters": [
        "0x0004",
        "0x000c"
      ]
    },
    "4": {
      "profile_id": 260,
      "device_type": "0x0053",
      "in_clusters": [
        "0x000c"
      ],
      "out_clusters": [
        "0x000c"
      ]
    },
    "5": {
      "profile_id": 260,
      "device_type": "0x0000",
      "in_clusters": [
        "0x0010",
        "0x0012"
      ],
      "out_clusters": []
    },
    "6": {
      "profile_id": 260,
      "device_type": "0x0000",
      "in_clusters": [
        "0x0010",
        "0x0012"
      ],
      "out_clusters": []
    },
    "7": {
      "profile_id": 260,
      "device_type": "0x0000",
      "in_clusters": [
        "0x0010",
        "0x0012"
      ],
      "out_clusters": []
    }
  },
  "manufacturer": "LUMI",
  "model": "lumi.switch.b2nacn02",
  "class": "zigpy.device.Device"
}

If anybody is still searching for an answer to this - in my case I solved it by not using the sonoff cc2531 usb, but the sonoff zigbee bridge. I flashed it with tasmota (that requires some dupont wires, but is very easy. There is a tutorial by digiblur, just google it, theres also a video tutorial on youtube). Now both buttons show, are controlable in home assistant, by google home and such. I dont know if it would work with aqara switch or other switches, but it worked with my lerlink eu x712 and if the problem is the same with another zigbee switch, I see no reason why this would not solve it.