Capturing custom attributes into variables

Look under set variable.

Then pick the variable the pick device attribute and then the device you want. You'll then get a list of all the attributes for that device.