code: def toggle_power(self, selector='all', duration=1.0):
          
  
          argument_tuples = [
              ("duration", duration)
          ]
  
          return self.client.perform_request(
              method='post', endpoint='lights/{}/toggle',
              endpoint_args=[selector], argument_tuples=argument_tuples)
docs: Given a selector and transition duration, toggle lights (on/off)