Mushroom Cards - Build a beautiful dashboard easily 🍄 (Part 2)

Yes his message was for you :grinning: The template chip is more customizable.

      - type: template
        icon_color: |
          {{ 'red' if states(config.entity) | int <= 20 else 'orange' }}
        entity: sensor.datchik_vlazhnosti_i_temperatury_spalnia_humidity
        content: test
        icon: mdi:home
        card_mod:
          style: |
           ha-card {
            --text-color:
             {{ 'red' if states(config.entity) | int <= 20 else 'lime' }}
                }

There are several ways to address your request. Check out the chips link in his guide