code: def get_sensor_reading(self, sensor_number, lun=0):
          
          rsp = self.send_message_with_name('GetSensorReading',
                                            sensor_number=sensor_number,
                                            lun=lun)
  
          reading = rsp.sensor_reading
          if rsp.config.initial_update_in_progress:
              reading = None
  
          states = None
          if rsp.states1 is not None:
              states = rsp.states1
              if rsp.states2 is not None:
                  states |= (rsp.states2 << 8)
          return (reading, states)
docs: Returns the sensor reading at the assertion states for the given
          sensor number.
  
          `sensor_number`
  
          Returns a tuple with `raw reading`and `assertion states`.