Zigbee2mqtt: Added Aqara dual switch WXKG15LM

Hello,

I have this switch (https://

Hi @Exilon62 :slight_smile:

We indeed don’t handle the « single_left Â» and « single_right Â» 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

@_Will_71 If you’re passing by :smiley:

1 Like

@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

1 Like

@pierre-gilles ,

Here is the PR

4 Likes

@_Will_71 Get well soon! :slight_smile:

Good job on the PR! :smiley:

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

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

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

1 Like

@_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

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

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

Oops
 I’ll take care of it tonight

1 Like

@pierre-gilles , it’s fixed

3 Likes

@_Will_71 Thanks!

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

3 Likes

Available in Gladys Assistant 4.51.0 :