Xiaomi Aqara Smart Wireless Switch (WXKG02LM) with Deconz

I was wondering if anyone was able to get this device working as a dimmer in nodered? that would be willing to share their code.