Hi, I’m new to ST dev and trying to improve a bit of code for my needs.
I added to existing Sensibo SmartApp a new method, say “MyNewMethod” and I’m calling it from Sensibo device handler, like parent.MyNewMethod(param) and getting error. I checked it with if (parent.respondsTo('MyNewMethod')) { ... code ... } else { log.debug("not here: error") }
Whats I’m doing wrong that my device handler does not see smartapp new method?
Basically it returns a very simple error without details “Sensibo FAILED to set the AC State”, so its just DH cant find my method in SmartApp code for some reason
Yes it works ok without my changes