Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when creating smart app from code #8

Open
cmlaird opened this issue Dec 17, 2017 · 2 comments
Open

Error when creating smart app from code #8

cmlaird opened this issue Dec 17, 2017 · 2 comments

Comments

@cmlaird
Copy link

cmlaird commented Dec 17, 2017

I am getting an error that says "Cannot get property 'groovy' on null object" Am I copying and pasting the smartapp/Alarmcom.groovy into to the field or is there something else I need to do? Thanks!

@cmlaird
Copy link
Author

cmlaird commented Dec 17, 2017

Ok, I figured out where the code is but now I am getting this:

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

@juanchoi7
Copy link

Try:
step1: alarm-com.groovy -> put in My SmartApps
step2: alarm-com-switch.groovy -> put in My Device Handler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants