How to display all lights and some light switches on using entity filter?

I have some lights set as switches on configuration.yaml because it does not dim and technically just a switch. How do I use HA lovelace to create the entity filter to just a glance can see all the lights/switches that are on only and I can click them to turn any one of them off. I am able to use the domain as switch because some of my switches are use for plug-in outlets that are not a light. The name of the switch do have the word “light” on them. Is there a way to filter using the description of the light to show list of light switches and excluded others. Sample of lovelace scripts would be greatly appreciated.

Maybe these?