The edge driver cannot be edited in IDE
You could try this:
In the App open the device and enter the menu three points, top right and click on driver
It will show you the name of the edge driver used by the switch
-
If it is Zigbee Switch, I would have to give it a smartthings solution since the problem is in its stock driver
-
If you want to use the DTH again, the only thing I can think of is this:
- Create your custom DTH zigbee Switch:
- Enter IDE and click on MY Device Handlers
- Click on + Create New Device Handler
- Click on From Example and in the list look for the DTH Zigbee Switch
- In the code look for: definition (name: “ZigBee Switch”,
- In name add -1 to show ZigBee Switch-1"
- Click on Create: It will generate a DTH with that name
- Click on Publish and Publish for me
- Create your custom DTH zigbee Switch:
-
Now uninstall the switch with the app
-
Enter in app HUB and open the Driver menu, top right
-
Find the Zigbee Switch driver and remove it
-
Add the device with search nearby and see if you are lucky and it pairs with this DTH