Template scenes - functions with parameter

It would be great to create a template scene which can be applied to multiple same-model devices which share the same behavior.

E.g. to have it like a function someBehavior(deviceParam, param1, param2…) which holds the IF-THEN logic dependant on the function (template) parameters.

In this way, a bunch of the same devices with the same behavior can easily be initially configured, and also maintained during time.

This need is so niche that I don’t think eWeLink will consider implementing it😂

1 Like

It would be great not only to have a single-IF-THEN-function with parameters but to group multiple such functions into a class that can receive some arguments (parameters), pass them to assigned functions, and apply them to IF-THEN logic.
PS. Functions could be shared between classes.
@yitie or @Daniel_Zhan, or whoever is in control of feature proposals?