Instead of using type ‘- entity: …’ use ‘- type: attribute: …’.
Example:
- type: attribute
icon: mdi:radiator
name: Heater Mode
entity: climate.lyric
attribute: hvac_action
Result:
The only limitation is that it cannot be used with visual editor.