openHAB: widget with multiple background colors

Had to figure out how to have multiple background colors in a template widget, based on Item state.

Blogged about the result here:
https://andreas.scherbaum.la/blog/archives/990-openHAB-widget-with-multiple-different-background-colors.html

2 Likes