I’m in the process of translating my rules from rules DSL to JSR 223 Jython.
Now I need a little support.
In one rule I need to unset an item under certain conditions. I tried the following:
but both do not work.
Both result in an error
TypeError: sendCommand(): 2nd arg can't be coerced to String, java.lang.Number, org.eclipse.smarthome.core.types.Command
How can I accieve, what I’m trying in jython?