Exposing attributes / hidden entities

HA has support for attributes on an entity or even a hidden entity (WLED has them) that is not exposed to lovelace until you manually enable it.

Is there any sort of functionality like this in ESPHome? I want to expose the model number of my light to HA, but not as a new exposed sensor.

While this approach works:

text_sensor:
  - platform: template
    name: "${friendly_name} — Model"
    lambda: |
      return {"LSC Smart Connect (E27 Warm White)"};

It would be nicer if I could have it as an attribute.