brbeaird / SmartThings_MyQ

Integrate SmartThings with MyQ (Obsolete)
https://github.com/brbeaird/SmartThings-MyQ-Edge
Apache License 2.0
410 stars 896 forks source link

Error creating "no sensor" version of SmartApp #141

Closed bamfuchs closed 3 years ago

bamfuchs commented 3 years ago

When I try to make the "No Sensor" version of the app I get

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

brbeaird commented 3 years ago

That may be because you were pasting SmartApp code into a Device Handler or vice versa. Give it another shot.