#Noob question, trying to reduce duplication for some nodes in a flow

1 messages · Page 1 of 1 (latest)

raw tundra
#

Hey there, apologies for the noob question. I'm trying to simplify this flow:

#

Instead of having a different set of nodes for the front door and the garage entryway door, I instead want to set a door attribute on the msg that gets passed through to the custom notification subflows I have.

#

Here in the "Garage entryway opens" node you can see I'm setting the door attribute

#

And here I'm attempting to pass in {{door}}, but when I actually receive this notification on my device I get was opened (nothing gets interpolated)

#

I can confirm with a debug node that door is indeed part of the msg at this part of the flow though. So perhaps the {{door}} interpolation I'm trying to do just isn't a thing?

heady ridge
#

subflow properties can't have dynamic values in them

#

in your example if you dig into msg.data you'll find that the friendly name of the entity is there and you can reference that in your subflow