Very often a simple switch is used to control a light just on and off. It should be possible to change the entity type for switch to light in the UI itself instead of using the yaml and inserting crazy amounts of entries if you have 20,30 lights in your home…
The way it is now will make the yaml troubleshooting much more complicated for such a simple thing.
If a switch is not light then it cannot be used in blueprints etc.