code: def state_delta(self, selector='all',
          power=None, duration=1.0, infrared=None, hue=None,
          saturation=None, brightness=None, kelvin=None):
          
  
          argument_tuples = [
              ("power", power),
              ("duration", duration),
              ("infrared", infrared),
              ("hue", hue),
              ("saturation", saturation),
              ("brightness", brightness),
              ("kelvin", kelvin)
          ]
  
          return self.client.perform_request(
              method='post', endpoint='lights/{}/state/delta',
              endpoint_args=[selector], argument_tuples=argument_tuples)
docs: Given a state delta, apply the modifications to lights' state
          over a given period of time.
  
          selector: required String
              The selector to limit which lights are controlled.
  
          power: String
              The power state you want to set on the selector. on or off
  
          duration: Double
              How long in seconds you want the power action to take.
              Range: 0.0 – 3155760000.0 (100 years)
  
          infrared: Double
              The maximum brightness of the infrared channel.
  
          hue: Double
              Rotate the hue by this angle in degrees.
  
          saturation: Double
              Change the saturation by this additive amount; the resulting
              saturation is clipped to [0, 1].
  
          brightness: Double
              Change the brightness by this additive amount; the resulting
              brightness is clipped to [0, 1].
  
          kelvin: Double
              Change the kelvin by this additive amount; the resulting kelvin is
              clipped to [2500, 9000].