Device handler code errors out when trying to add to device handler. Any thoughts?
Make sure you’re creating it as a Device Handler and not a SmartApp.
Also make sure you click the RAW button in GitHub and copy the code from that screen to ensure that you don’t miss anything or copy something that’s not part of the code.
You need to copy the RAW code for the Device Handler and create it in the New Device section.
Works! I keep forgetting the raw code tab. Do u have to uninstall the siren device and reinstall it for the device handler to show up?
Nope. All you need to do is go to the IDE and edit your device. Change the device handler selection to Zooz Smart Switch.