Glad you found these posts useful!

In my case, most of my SmartThings sensors report temperature in addition to their primary function, so I capture that data along with whatever else the sensor provides.