Is it possible to combine two items in a single display line?

I’m using OpenHab 2, latest snapshot.

I would like to use the wind direction to select an Icon and the wind speed for the displayed value.

The same would work well for pressure and pressure trend.

Is that possible in some way using basic or classic UIs?


One way is to make up a new text item say Wind_Dir then create a rule that when the wind speed or direction changes it updates the value of Wind_Dir. Its easy to make this a text combination of the two, but you would need to do some thinking about the best way to use a dynamic icon to show wind direction