Return attributes as an object map instead of an array

Is there a way to return tags as an object map instead of an array?
It is easier to work with object.
Thanks!

Actually the issue is that I am trying to get the latest value of an attribute. I don’t see how to get it.

The Gauge Query node is the best way to get the most recent value for an attribute. You’ll want to set the duration to “Last received data point”.

1 Like