WTH dont we have a better way to invert a switch

Instead of using a template which is currently only YAML, can we merge in to the switch-as-x integration?
We can have “Switch as inverted”.