Suggested method for transforming weather data

Does anyone have suggestions on showing the correct forecast icons?

I’m on openHAB and have weather condition number items from the ecobee API. In order to convert to human readable data, I’m using transformations:

Item

Number weather_forecasts0_weatherSymbol “Weather Symbol [MAP(ecobeeWeatherSymbol.map):%s]” (gWeather)

ecobeeWeatherSymbol.map

0=sunny
1=few_clouds
2=partly_cloudy
3=mostly_cloudy
4=overcast
5=drizzle

I’ve verified the transformations are working in openHAB sitemaps. However, when opening the items in HomeHabit, the values just show “- -” and the icons don’t appear.

I know in the early days of HomeHabit, transformations were not supported, but I recall @igor eventually got them working. Did I get it wrong?

Thanks!

You might have to create a rule on OpenHAB and store the Human Readable value into a String item?