Added attribute for whether the sensor is input or output