code: def add_item(self, host, key, value, clock=None, state=0):
          
          if clock is None:
              clock = self.clock
          if self._config.data_type == "items":
              item = {"host": host, "key": key,
                      "value": value, "clock": clock, "state": state}
          elif self._config.data_type == "lld":
              item = {"host": host, "key": key, "clock": clock, "state": state,
                      "value": json.dumps({"data": value})}
          else:
              if self.logger: # pragma: no cover
                  self.logger.error("Setup data_type before adding data")
              raise ValueError('Setup data_type before adding data')
          self._items_list.append(item)
docs: Add a single item into DataContainer
  
          :host: hostname to which item will be linked to
          :key: item key as defined in Zabbix
          :value: item value
          :clock: timestemp as integer. If not provided self.clock()) will be used