Icon_template not working when using url?

Hi,
I am trying to set up the example from the docs that creates a RESTful sensor that fetches a weather report from OpenWeatherMap. Is this:

sensor:
  • platform: rest
    name: OWM_report
    json_attributes:
  • platform: template
    sensors:
    owm_weather:
    value_template: ‘{{ states.sensor.owm_report.attributes.weather[0][“description”].title() }}’
    icon_template: ‘{{ “http://openweathermap.org/img/w/"+states.sensor.owm_report.attributes.weather[0][“icon”]+".png” }}’
    entity_id: sensor.owm_report
    owm_temp:
    friendly_name: ‘Outside temp’
    value_template: ‘{{ states.sensor.owm_report.attributes.main[“temp”]-273.15 }}’
    unit_of_measurement: “°C”
    entity_id: sensor.owm_report
    owm_pressure:
    friendly_name: ‘Outside pressure’
    value_template: ‘{{ states.sensor.owm_report.attributes.main[“pressure”] }}’
    unit_of_measurement: “hP”
    entity_id: sensor.owm_report
    owm_humidity:
    friendly_name: ‘Outside humidity’
    value_template: ‘{{ states.sensor.owm_report.attributes.main[“humidity”] }}’
    unit_of_measurement: “%”
    entity_id: sensor.owm_report

But the icon for owm_weather is not displayed in the frontend. I could see that if I try to customize the “owm_weather” sensor in the customize section of Configurator of Hassio, it has an autofilled value in the icon field, that points to the correct url for image at OpenWheather. But I see below a message stating that only mdi icons should be used there.

Any tip?

Thanks in advance.

I think that example in the docs is not working properly and should be corrected. I have followed that simple steps, but the icon is not dinamally generated and showed in the frontend.

So, anybody has this example from the docs working?
How this icon could be dinamically changed?

dear tremebundo,

did you receive any news on this topic? I’m struggeling with it aswell.

kind regards