Iris Pendant


(Lawrence) #1

Hello I am trying to put mitch code in for the button controller on the api site and here is what it is saying and could someone please advise. Thanks

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


(Eric) #2

I’m no code mavin but looks like you are adding code as app that should be a device type.

Searching for your error would be faster than posting your question.