Switch Lumen to NonLumen at runtime

If you type r.Lumen, you’ll get a bunch of suggestions. I believe what you’re looking for is r.Lumen.DiffuseIndirect.Allow ?