ST app ways to cause one dimmer to do what another dimmer does?

Take then part from this RulesAPI example: