Connecting Existing Open/Close Sensors To New SmartThings Hub

I just figured out a way to do this using my existing sensors: