**1) Give a description of of the problem.
When I try to setcode for the lock I’m getting errors.
2) What is the expected behavior?
That I throw a virtual switch to set a code and when I close it the code deletes.
3) What is happening/not happening?
I’m getting errors.
**4) Post a Green Snapshot of the piston!
**5) Attach any logs (From [ST IDE]
eb74521-0d8b-4562-9533-f11d590fc2a8 4:32:49 PM: errorgroovy.lang.MissingMethodException: No signature of method: script_dth_426cdf87b62613f9afc304ac6c9f1ebc7b3c593d804d58b82db2bcd2eb8a2152.setCode() is applicable for argument types: (java.lang.Double) values: [3483.0]
Possible solutions: setCode(java.lang.Object, java.lang.Object), setCode(java.lang.Object, java.lang.Object, java.lang.Object), setLog(java.lang.Object), hashCode(), getLog(), section() @line 1733 (executePhysicalCommand)