code: def event(self, interface_id, key, value):
          
          LOG.info(
              "HMGeneric.event: address=%s, interface_id=%s, key=%s, value=%s"
              % (self._ADDRESS, interface_id, key, value))
  
          self._VALUES[key] = value   # Cache the value
  
          for callback in self._eventcallbacks:
              LOG.debug("HMGeneric.event: Using callback %s " % str(callback))
              callback(self._ADDRESS, interface_id, key, value)
docs: Handle the event received by server.