I have been trying, unsuccessfully, to use in a custom Device Handler and in a custom SmartApp a custom Device Attribute and a custom Device Command.
According to SmartThings documentation, both usages seem quite straightforward, but I was unable to use either :
when setting up a custom Attribute from within my Device Handler : the handler crashes with this message :
“groovy.lang.MissingPropertyException: No such property: reportASAP for class: physicalgraph.device.cache.DeviceDTO @ line 445”
The custom Attribute is NOT modified.
when invoking a custom device Command from my SmartApp, I get a very similar error message :
“groovy.lang.MissingMethodException: No signature of method: physicalgraph.device.CommandService.executeAction() is applicable for argument types: (physicalgraph.device.cache.DeviceDTO, java.lang.Boolean) values: [JJG, true] @ line 93”.
Curiously, I get this error message AFTER the custom command HAS BEEN properly executed by the Hub; but it works only once, and the error message aborts my SmartApp, which defeats its whole purpose (periodic watchdog)
The SmartThings support did register my 2 support requests (#99365 and #98757), but they were not able to help me further.
So has anybody here ever been able to SUCCESSFULLY use either a Custom Device Attribute or a Custom Device Command ?
And if yes, anything special to do to avoid those bothersome messages ?
Any help appreciated.