added ability to disable a sensor