Dynamic Badges

Is there a way to make the badges in lovelace dynamic, based off of state? Like to auto hide if off. I know about glance cards but I’m specifically talking about badges.

Yes. Add the integration

Go into the raw editor an add:

views:
  - badges:
      - entity: sensor.weather_symbol_text
      - entity: sensor.weather_temp
      - entity: sensor.weather_temp_reel_feel
        style: |
          :host {
            --label-badge-red: blue;
            display: 
              {% if states('sensor.weather_temp')|float > 5 %}
                none;
              {% endif %}
          }

Hey im interested in this, I tried your YAML but didnt work for me.