While it’s not 100% in the UI, something similar can also be done by using a Template Switch.
Here’s a couple blueprints I put together: Switch to group Input Booleans.
The above blueprints filter the entities for just Input booleans, but they could be modified to allow any toggle-able entity type. I suspect the combination of Labels and the expanded “purpose-specific” triggers and conditions will make these kind of grouping entities less useful/necessary in the not-to-distant future.