Subflows, putting $env variable names into fields of `switch` node

Today's problem:

$env variable used to make it usable on multiple devices.

Because subflows are limited to 1 input, I am putting a switch node just inside the subflow to direct traffic messages as needed.

So I have $DN (DeviceName) set.
I want to put that in as part of the field in the switch node.


Where the A1 is what will be defined in the $DN.

So - guessing - would J$ $DN/stat/power work?
Ok: rhetorical. I'll try it.
But if I didn't ask, it wouldn't work and I would have to ask it anyway. :wink:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.