def METHOD_NAME(self, outlet, state):
    state = 0 if state == 'off' else 1
    outlet = int(outlet)
    ident = self.map_outlets[outlet]
    sitem = '/SetParm?item={}?content={}'.format(ident, state)
    self.wc.grab_response(sitem)