code: def get_by_entityid(self, entityid):
  		
  		data = self.list(entityid=entityid)
  		if len(data) == 0:
  			return None
  
  		eid = int( next(iter(data)) )
  		entity = self.get(eid)
  
  		self.debug(0x01,entity)
  		return entity
docs: Returns the entity with the given entity ID as a dict