Does not show icon

Hi friends. I’m trying to get an icon that represents the weather to appear, but I can’t do it. Surely it is not put in the right place. Someone could tell me what I can do.
Thanks

#################################################
#                                               #
#                    CLIMA                      #
#                                               #
#################################################

clima:
  variables:
    state: >
      [[[ return entity === undefined || entity.state; ]]]
    timeout: >
      [[[ return entity === undefined || Date.now() - Date.parse(entity.last_changed); ]]]
    light_color: >
      [[[ return entity === undefined ? 'var(--state-icon-color)' : 'var(--button-card-light-color-no-temperature)'; ]]]
    icon: >
      [[[         
        if (variables.state === 'cloudy')     
          if (Date.now() > "6:00" && Date.now() < "19:00")
            return '<img src="/local/img/forecast/mostly_clear_night_light_color_96dp.png">'; 
          else
            return '<img src="/local/img/forecast/mostly_clear_night_dark_color_96dp.png">'; 
        else if (variables.state === 'sunny')     
          return '<img src="/local/img/forecast/sunny_light_color_96dp.png">'; 
        else if (variables.state === 'clear-night')     
          return '<img src="/local/img/forecast/clear_night_dark_color_96dp.png">'; 
        else if (variables.state === 'rainy')     
          return '<img src="/local/img/forecast/showers_rain_light_color_96dp.png">'; 
        else if (variables.state === 'partlycloudy')     
          if (Date.now() > "6:00" && Date.now() < "19:00")
            return '<img src="/local/img/forecast/partly_cloudy_light_color_96dp.png">'; 
          else
            return '<img src="/local/img/forecast/partly_cloudy_dark_color_96dp.png">'; 
        else if (variables.state === 'lightning-rainy')     
          if (Date.now() > "6:00" && Date.now() < "19:00")
            return '<img src="/local/img/forecast/scattered_showers_day_dark_color_96dp.png">'; 
          else
            return '<img src="/local/img/forecast/scattered_showers_night_dark_color_96dp.png">'; 
        else if (variables.state === 'lightning')     
          return '<img src="/local/img/forecast/isolated_scattered_tstorms_day_dark_color_96dp.png">'; 
        else if (variables.state === 'pouring')     
          return '<img src="/local/img/forecast/heavy_rain_dark_color_96dp.png">'; 
        else if (variables.state === 'snowy')     
          return '<img src="/local/img/forecast/snow_showers_snow_dark_color_96dp.png">'; 
        else if (variables.state === 'snowy-rainy')     
          return '<img src="/local/img/forecast/wintry_mix_rain_snow_dark_color_96dp.png">'; 
        else if (variables.state === 'fog')     
          return '<img src="/local/img/forecast/haze_fog_dust_smoke_dark_color_96dp.png">'; 
        else 
          return variables.state; 
    ]]]
  aspect_ratio: 1/1
  show_state: true
  show_icon: true # linea const tablet     states['switch.galaxy_tab_a_screensaver'];
  tap_action:
    ui_sound_tablet: |
      [[[      
        const tablet = 1; 
        const screensaver = states[tablet] === undefined || states[tablet].state;
        if (variables.state === 'off' && screensaver === 'off') {
          hass.callService('media_player', 'play_media', {
            entity_id: 'media_player.tab_10_pro',
            media_content_id: '/local/sound/on.m4a',
            media_content_type: 'music'
          });
        }
        if (variables.state === 'on' && screensaver === 'off') {
          hass.callService('media_player', 'play_media', {
            entity_id: 'media_player.tab_10_pro',
            media_content_id: '/local/sound/off.m4a',
            media_content_type: 'music'
          });
        }
      ]]]
    animation_card: |
      [[[
        const animation_speed_ms = 900;
        const animation = `card_bounce ${animation_speed_ms}ms cubic-bezier(0.22, 1, 0.36, 1)`;
        this.shadowRoot.getElementById("card").style.animation = animation;
        window.setTimeout(() => {
          this.shadowRoot.getElementById("card").style.animation = "none";
        }, animation_speed_ms)
      ]]]
    action: toggle
    haptic: medium
  styles:
    grid:
      - grid-template-areas: |
          "icon  icon"
          "icon  icon"
          "n     n"
          "s     s"
      - grid-template-columns: repeat(2, 1fr)
      - grid-template-rows: auto repeat(3, min-content)
      - align-items: start
    name:
      - justify-self: start
      - line-height: 100%
    state:
      - justify-self: start
      - line-height: 100%
    card:
      - font-family: Sf Text
      - border-radius: var(--custom-button-card-border-radius)
      - -webkit-tap-highlight-color: rgba(0,0,0,0)
      - transition: none
      - padding: 10% 10% 6% 10%
      - --mdc-ripple-color: >
          [[[
            return 'rgba(255, 255, 255, 0.3)';
          ]]]
      - color: >
          [[[
            return 'rgba(255, 255, 255, 0.3)';
          ]]]