I created this custom component for singapore weather forecast.
I have this property
@property def entity_picture(self): """Return the entity picture to use in the frontend, if any."""
return ‘https://www.nea.gov.sg/Html/Nea/images/common/weather/50px/’ + self._rawstate + ‘.png’
How to change the code the download the picture and serve from hass instead of link to the origin