Yeah, this one is a little weird to update in a workflow. Here is an example for you:
I have a device with two attribute tags:
In this example, I’m using tags to store units and an attribute-specific threshold.
Here is an example workflow that updates both of these:
In my Virtual Button, I added the following:
I crafted the following using the Device Patch Schema.
Then, using the Device: Update Node, we can update the tags. The special part here is that you’d have to use the “Payload Path” option. ( There is a current ticket to make updating these easier in the node. I’m going to +1 that. )
Important: You must update all tags, even if you’re only updating just one.
I know this is a small workflow, but here is an export for you:
set-attribute-tags-develop.flow (2.0 KB)
Let me know if you have any questions