Error trying to publish Alarm.com Switch for SmartThings?


(Rich) #1

I’m trying to publish the Alarm.com Switch for SmartThings and continue to get an error message. Under My Devices, I copy/pasted the code from the raw tab but I get the error message below. Since I don’t anything about coding…this is greek to me. Any suggestions?

No signature of method: script149649704443846863917.metadata() is applicable for argument types: (script149649704443846863917$_run_closure1) values: [script149649704443846863917$_run_closure1@59866172] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)