Bubble card styling

Hello, oui c l’idée là j’affiche l’alerte qui valider que tt fonctionne bien :wink: Je pense que je vais devoir faire pas du code sup pour récup les concentrations pour créer le sensor qui correspond
Comme on dit: stay tunned ^^

edit: @WarC0zes cadeau ^^

The Code
type: custom:auto-entities
card:
  square: false
  type: grid
  columns: 1
card_param: cards
filter:
  template: |-
    {% for entity_id in integration_entities('atmofrance') -%}
      
      {%- if 'pornichet' in entity_id and 'niveau_' in entity_id -%}
        {%- set myname = state_attr(entity_id, 'friendly_name') | replace('-Pornichet', '') | replace('Niveau ', '') -%}
        {%- set my_concentration_sensor = ('sensor.concentration_' + myname + '_pornichet') | lower | replace('é', 'e') -%}
        {%- set my_concentration_state = '${card.querySelector(' + "'.bubble-state'" + ').innerText = ' + "'" + states(my_concentration_sensor) + ' µg/m³' + "' }" -%}
        
        {{
          {
            "type": "custom:bubble-card",
            "card_type": "button",
            "button_type": "slider",
            "modules": [
               "olci-slider-pollen",
               "default"
            ],
            "entity": entity_id,
            "name": myname ,
            "show_last_changed": false,
            "show_state": true,
            "read_only_slider": true,
            "scrolling_effect": false,
            "styles": my_concentration_state ,
            "min_value:" 0,
           " max_value": 6,
            "sub_button": [
              {
                "show_state": false,
                "show_icon": false,
                "state_background": false,
                "show_background": false,
                "show_attribute": true,
                "attribute": "Libellé"
              }
            ],
          }
        }},

      {%- endif %}
    {%- endfor %}  
sort:
  method: state
  numeric: true
  reverse: true
show_empty: true
grid_options:
  columns: 12
  rows: auto
min_value: 1
max_value: 8
1 « J'aime »