WTH can’t we add attributes to template / mqtt entities

Simple example:
Tasmota smart plug with power monitoring reporting to mqtt server
——Why do I need a switch for on/off and sensor for power monitor. I’d love to the attribute of power consumption to the switch entity.

Edit - also on restful entities