Closed ccutrer closed 1 year ago
or something that simply takes the state pattern for the item (including a transformation if it's defined) and returns that instead?
I thought item.state.toString is supposed to do that
no, that simply stringifies a raw state, with no context of the item's state description
Following up from https://github.com/boc-tothefuture/openhab-jruby/issues/9
might be useful?
maybe too, but would it be better to just have something like
or something that simply takes the state pattern for the item (including a transformation if it's defined) and returns that instead?