How use all property in group lights

I’m trying to use the all property read in the documentation here:

but as you can see I get an error, anyone can tell me what I’m doing wrong?

Does it pass a configuration check?

If so, the schema of the VSCode Home Assistant Helper extension just needs updating.