# Bouton Sonoff SNZB-01

**URL:** <https://community.gladysassistant.com/t/bouton-sonoff-snzb-01/6812>\
**Category:** Configuration\
**Created:** [January 16, 2022, 5:53pm UTC](https://community.gladysassistant.com/t/bouton-sonoff-snzb-01/6812 "2022-01-16T17:53:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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 17, 2022, 9:55am UTC](https://community.gladysassistant.com/t/bouton-sonoff-snzb-01/6812/5 "2022-01-17T09:55:15Z")

</div>

> [@jplalevee](#):
>
> A first question: what physical button corresponds to the LONG\_CLICK event?

On this point, I think the manufacturer’s manual will be clearer than me, I don’t have this device 🙂

> [@jplalevee](#):
>
> Second question: I think I understand that the three functions of the Xiaomi WXKG06LM button are handled by Gladys now; is this also valid for the Sonoff now,

From what I just tested, Gladys handles the «&nbsp;click&nbsp;», «&nbsp;double-click&nbsp;» and «&nbsp;long\_press&nbsp;», but not the others.

> [@jplalevee](#):
>
> is this also valid for the Sonoff now, or will it be in a future update (when)?

Only you can tell us since you have the button at home 😃

If things are missing, you can discuss with the developers of this integration on the forum (all the people in this discussion: [Zigbee2mqtt - Debug](https://community.gladysassistant.com/t/zigbee2mqtt-debug/6080))

Regarding a date, we generally don’t talk about dates, Gladys is a free community project managed by volunteers, so it generally depends on the availability of people 🙂

Knowing that not everyone has the devices of others, the best way to bring compatibility is to contribute yourself!

In this case, you would need to isolate all the keys that this Sonoff sensor returns, and add them to the constant files of the Zigbee2mqtt integration in a PR. Ideally, you would need to adapt the UI to avoid displaying «&nbsp;1&nbsp;», «&nbsp;2&nbsp;», but rather translated words 🙂

---

_[View the full topic](https://community.gladysassistant.com/t/bouton-sonoff-snzb-01/6812)._
