I've found "capability.${'*'}" to put the "Toggle All On/Off" checkbox at the top of a device selection list.
Is there some variant of this which would do one specific capability (for example, "capability.battery") while still adding the "Toggle All On/Off" checkbox?