code: def set_values(self, values, *, index=0):
          
          assert len(self.raw) == 1, \
              'Only devices with 1 light supported'
  
          return Command('put', self._device.path, {
              ATTR_LIGHT_CONTROL: [
                  values
              ]
          })
docs: Set values on light control.
          Returns a Command.