code: def inform(self, reading):
          
          try:
              self._inform_callback(self._sensor, reading)
          except Exception:
              log.exception('Unhandled exception trying to send {!r} '
                            'for sensor {!r} of type {!r}'
                            .format(reading, self._sensor.name, self._sensor.type))
docs: Inform strategy creator of the sensor status.