# Zigbee2mqtt: Added Aqara dual switch WXKG15LM

**URL:** <https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279>\
**Category:** Demandes livrées\
**Tags:** zigbee2mqtt, feature-integration\
**Created:** [January 4, 2025, 2:20pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279 "2025-01-04T14:20:37Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Exilon62](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/exilon62/32/6003_2.png) [@Exilon62](https://community.gladysassistant.com/u/Exilon62)\
**Post date:** [January 4, 2025, 2:20pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/1 "2025-01-04T14:20:37Z")

</div>

Hello,

I have this switch (https://

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 7, 2025, 5:27pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/2 "2025-01-07T17:27:38Z")

</div>

Hi @Exilon62 🙂

We indeed don’t handle the «&nbsp;single\_left&nbsp;» and «&nbsp;single\_right&nbsp;» events!

But that can be added easily, here’s an example PR that adds a new button type: [zigbee2mqtt: Add ikea somrig button by William-De71 · Pull Request #2035 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/2035)

@_Will_71 If you’re passing by 😃

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [January 7, 2025, 6:09pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/3 "2025-01-07T18:09:00Z")

</div>

@pierre-gilles , I’m slowly recovering from my time off where I couldn’t do anything because I got sick.  
But I’ll add it to the list

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [January 7, 2025, 9:56pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/4 "2025-01-07T21:56:49Z")

</div>

@pierre-gilles ,

Here is the PR

> <https://github.com/GladysAssistant/Gladys/pull/2192>
>
> \### Pull Request check-list
> 
> 
> https://community.gladysassistant.com/t/zigbee2…mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/2

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 8, 2025, 5:05pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/5 "2025-01-08T17:05:47Z")

</div>

@_Will_71 Get well soon! 🙂

Good job on the PR! 😃

Mmm, however the tests no longer pass, but it doesn’t seem to be related to your PR; it looks more like a change in the NPM version, I think

```auto
npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: npm@11.0.0

```

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [January 8, 2025, 6:24pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/6 "2025-01-08T18:24:13Z")

</div>

I saw the npm errors last night but didn’t have time to look into them further.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 9, 2025, 12:19pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/7 "2025-01-09T12:19:57Z")

</div>

@_Will_71 I found the issue, I opened a PR: [Fix builds: Stop re-installing npm by Pierre-Gilles · Pull Request #2195 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/2195)

I’ll merge the PR into master and then rebase your PR

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 9, 2025, 12:31pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/8 "2025-01-09T12:31:25Z")

</div>

@_Will_71 it’s good, the tests have progressed, but it’s missing a Prettier pass — could you run Prettier on the server?

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [January 9, 2025, 1:26pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/9 "2025-01-09T13:26:58Z")

</div>

Oops… I’ll take care of it tonight

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [January 9, 2025, 6:27pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/10 "2025-01-09T18:27:02Z")

</div>

@pierre-gilles , it’s fixed

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 13, 2025, 8:43am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/11 "2025-01-13T08:43:30Z")

</div>

@_Will_71 Thanks!

It’s good for me, it’s merged and it will be included in the next Gladys release 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 20, 2025, 1:13pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/12 "2025-01-20T13:13:57Z")

</div>

Available in Gladys Assistant 4.51.0 :

> [@Gladys Assistant 4.51.0 : Zigbee2mqtt, ZWaveJS et MQTT!](https://community.gladysassistant.com/t/gladys-assistant-4-51-0-zigbee2mqtt-zwavejs-et-mqtt/9310):
>
> Salut à tous ! tada Voici la première version de Gladys pour 2025 partying_face Cette mise à jour intègre un ensemble d’améliorations et de correctifs développés fin 2024 / début 2025, notamment : Correction d’un bug de déconnexion MQTT : Merci à @Terdious pour son enquête qui a permis d’identifier et de résoudre les problèmes de déconnexion intempestive MQTT rencontrés par certains d’entre vous. Le souci venait des topics personnalisés MQTT. ZWaveJS : @Sescandell a ajouté la prise en ch…

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [January 20, 2025, 1:14pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-ajout-de-linterrupteur-aqara-double-wxkg15lm/9279/13 "2025-01-20T13:14:00Z")

</div>


