Device Handler for Aqara 2 Gang Wired Wall Switch no Neutral

Hi. I am new here and trying to use your code to setup an Aquara WS-USC02 Double Rocker , No neutral switch. I am able to add the switch to smart things and setup a DH with your code. But it does not work. Am I doing something wrong?