ZHA - New zigbee remote is triggering a zigbee power plug even though not configured to do it

Hi, I recently got an Ikea rodret, and whitout any automation active using it, it is turning on/off an aqara power plug I have had a while.

I’m using a sonoff dongle and ZHA.

HA Core 2024.12.0

I had a blueprint for the Rodret for its intended use, but I disabled the automation to understand what happen.

Pushing the OFF button, I see:

event_type: zha_event
data:
  device_ieee: 08:dd:eb:ff:fe:xx:xx:xx
  unique_id: 08:dd:eb:ff:fe:xx:xx:xx:1:0x0006
  device_id: d62052383a0e4c3e21be467af3591308
  endpoint_id: 1
  cluster_id: 6
  command: "off"
  args: []
  params: {}
origin: LOCAL
time_fired: "2025-01-08T11:05:07.331097+00:00"
context:
  id: 01JH2SDW03TYNK24BT5TRC6N4F
  parent_id: null
  user_id: null

And I see directly following:

event_type: state_changed
data:
  entity_id: switch.plug_extra_commutateur
  old_state:
    entity_id: switch.plug_extra_commutateur
    state: "on"
    attributes:
      friendly_name: plug_extra Commutateur
    last_changed: "2025-01-08T11:03:50.062241+00:00"
    last_reported: "2025-01-08T11:03:50.062241+00:00"
    last_updated: "2025-01-08T11:03:50.062241+00:00"
    context:
      id: 01JH2SBGHEGXT7EFZP1CFT9NPH
      parent_id: null
      user_id: null
  new_state:
    entity_id: switch.plug_extra_commutateur
    state: "off"
    attributes:
      friendly_name: plug_extra Commutateur
    last_changed: "2025-01-08T11:05:07.364346+00:00"
    last_reported: "2025-01-08T11:05:07.364346+00:00"
    last_updated: "2025-01-08T11:05:07.364346+00:00"
    context:
      id: 01JH2SDW14ST00MKCFN1T3RGMN
      parent_id: null
      user_id: null
origin: LOCAL
time_fired: "2025-01-08T11:05:07.364346+00:00"
context:
  id: 01JH2SDW14ST00MKCFN1T3RGMN
  parent_id: null
  user_id: null

But it does not seem that HA or ZHA are involved in this operation. Could it be that both devices have linked themselves somehow? How do I stop this from happening?

I had another Ikea switch linked to this plug (styrbar), but this switch is now offline (battery removed) and the matching automation disabled.

I don’t really know the details but there is an issue with some aqara devices that is cause by the firmware of the aqara switch. When de button is routed through the aqara switch it will control the aqara switch. You can not really solve this without new firmware from aqara.

Xiaomi Aqara Plug (SP-EUC01/lumi.plug.maeu01) Toggles without reason · Issue #13903 · Koenkk/zigbee2mqtt

Thanks, that seems to match my problem!