[SOLVED] Dynamic Item Name in rule

There are four options I can think of, but the easiest is to use the sendCommand Action rather than using the sendCommand method…

sendCommand (vItem, vStatus)

You may also learn something from this…

The new rule engine currently only uses something similar to the Action.