def get_sensor(self, sensor_type):
    if (sensor_type not in self.sensors):
        return None
    return self.sensors[sensor_type]
def get_sensor(self, sensor_type):
    if (sensor_type not in self.sensors):
        return None
    return self.sensors[sensor_type]