[OBSOLETE] Original & Aqara Xiaomi Zigbee Sensors (contact, temp, motion, button, outlet, leak, etc)

Hi @veeceeoh, I am quite new with ST and do not have much understanding on developing device handler. But I was wondering since the Aqara Wireless Light Switch WXKG02LMI DTH does not work for the new ST app, do you think it is possible to use the Aqara Wired Switch QBKG12LM approach?

In short, have it automatically create 2 child switch

  • Main: Allow us to set automation for Both button Press/Double/Hold. It also has the battery level and other information.
  • Child: Main will create 2 child, one for left, one for right. This allow us to set the automation for individual left and right button Press/Double/Hold.

I have tried to do up a MVP but due to my lack of knowledge on how to develop DTH, I am unable to get it to work. The following post which you have provide help to has a DTH that implemented the Main-Child approach.