How to use state-badge visual with state-label?

Greetings,

Please let me start by saying I did try to find the answer on the internet but miserably failed :frowning:

I have state-label elements that do exactly what I want.
i.e. show the attribute ā€œcurrent temperatureā€ of my climate sensor and open the climate UI upon tapping on them:

This would be perfect except for the visualā€¦ They are displayed as row number with a square background, which is not the prettiest thing everā€¦

On the other hand, the visual of ā€œstate-badgeā€ is brillantā€¦ Round visual, with the unit displayed and the value insideā€¦ Except that I cannot select the attribute being displayed :frowning: (It shows ā€œAutoā€ while I would want to display ā€œcurrent temperatureā€)

My question is:

  • Is there anyway to change the attribute displayed by the state-badge element?
  • If state-label is the only way of bringing this interface AND displaying the current temperature, is there anyway to change its visual to match the state-badgeā€™s one?
  • (or any other way to achieve what Iā€™m trying to achieveā€¦)

Thank you in advance for any help you could provide!!

here is the code for one of the element:

type: state-label
entity: climate.salon
attribute: current_temperature
suffix: Ā°
style:
  left: 20%
  top: 30%
  scale: 200%
card_mod:
  style: |
    {% set temp = states('sensor.salon_io_2895510_2_temperature')|float(0)
    %}
    {% if temp <= 17 %} 
      div{
        color: blue;
        background-color: white;
        }
    {% elif temp <= 22 %}
      div{
        color: green;
        background-color: white;
        }
    {% elif temp <= 28 %}
     div{
        color: red;
        background-color: white;
        }
    {% endif %}
    ;