Above is a screenshot of my 3 day weather forecast. I’m trying to get the icon to reflect the state.
The state is derived from the uk metoffice xml and is mapped as a string item from a code to the string.
I have a transformation map that maps the state eg Cloudy to an icon myweather-cloudy
Cloudy=myweather-cloudy
sitemap example
Text=item........icon="myweather"
icons work for openweather which I use for current but nor forecast conditions.
Do I need use the original weather condition value (ie 0-19) or is there another reason this isnt working?
I think you have to tell us more, it’s not clear.
Is your working ‘conditions’ Item a string type? Or is it number, with a MAP to descriptive text? What about forecast type?