{"action":"created","issue":{"url":"https://api.github.com/repos/yracine/DSC-Integration-with-Arduino-Mega-Shield-RS-232/issues/1","labels_url":"https://api.github.com/repos/yracine/DSC-Integration-with-Arduino-Mega-Shield-RS-232/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/yracine/DSC-Integration-with-Arduino-Mega-Shield-RS-232/issues/1/comments","events_url":"https://api.github.com/repos/yracine/DSC-Integration-with-Arduino-Mega-Shield-RS-232/issues/1/events","html_url":"https://github.com/yracine/DSC-Integration-with-Arduino-Mega-Shield-RS-232/issues/1","id":70010812,"number":1,"title":"No signature of method","user":{"login":"pilotstevek","id":11756477,"avatar_url":"https://avatars.githubusercontent.com/u/11756477?v=3","gravatar_id":"","url":"https://api.github.com/users/pilotstevek","html_url":"https://github.com/pilotstevek","followers_url":"https://api.github.com/users/pilotstevek/followers","following_url":"https://api.github.com/users/pilotstevek/following{/other_user}","gists_url":"https://api.github.com/users/pilotstevek/gists{/gist_id}","starred_url":"https://api.github.com/users/pilotstevek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pilotstevek/subscriptions","organizations_url":"https://api.github.com/users/pilotstevek/orgs","repos_url":"https://api.github.com/users/pilotstevek/repos","events_url":"https://api.github.com/users/pilotstevek/events{/privacy}","received_events_url":"https://api.github.com/users/pilotstevek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-22T03:28:27Z","updated_at":"2015-04-23T12:27:01Z","closed_at":"2015-04-23T12:27:01Z","body":"When I copy this groovy application (SecurityAlarmPanel.devicetype.groovy) directly into a new SmartThings App, I receive the following error:\r\n\r\nNo signature of method: script142967153806599099437.metadata() is applicable for argument types: (script142967153806599099437$_run_closure1) values: [script142967153806599099437$_run_closure1@40687086] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure) "},"comment":{"url":"https://api.github.com/repos/yracine/DSC-Integration-with-Arduino-Mega-Shield-RS-232/issues/comments/95568654","html_url":"https://github.com/yracine/DSC-Integration-with-Arduino-Mega-Shield-RS-232/issues/1#issuecomment-95568654","issue_url":"https://api.github.com/repos/yracine/DSC-Integration-with-Arduino-Mega-Shield-RS-232/issues/1","id":95568654,"user":{"login":"pilotstevek","id":11756477,"avatar_url":"https://avatars.githubusercontent.com/u/11756477?v=3","gravatar_id":"","url":"https://api.github.com/users/pilotstevek","html_url":"https://github.com/pilotstevek","followers_url":"https://api.github.com/users/pilotstevek/followers","following_url":"https://api.github.com/users/pilotstevek/following{/other_user}","gists_url":"https://api.github.com/users/pilotstevek/gists{/gist_id}","starred_url":"https://api.github.com/users/pilotstevek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pilotstevek/subscriptions","organizations_url":"https://api.github.com/users/pilotstevek/orgs","repos_url":"https://api.github.com/users/pilotstevek/repos","events_url":"https://api.github.com/users/pilotstevek/events{/privacy}","received_events_url":"https://api.github.com/users/pilotstevek/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T12:27:01Z","updated_at":"2015-04-23T12:27:01Z","body":"This was a newbie mistake, I was trying to use this code for the application and not the device type (https://graph.api.smartthings.com/ide/devices)."}}