How to setup a function to be available in user options functions list ?

You can create an array for devices eg.

@editable MyTriggers : []trigger_device = array{}

and then to do stuff on all of them use for like this

for(Trigger:MyTriggers):
      Trigger.Enable()
2 Likes