Updated for the ability to pause sensors