I’ve tried to set a category value to “dimmer” and “setpoint”. No luck. The item is still not editable.
I’ve tried to search OpenHAB documentation (here and here in particular, but not limited to these pages) about “categories” and their connections with a “semantic model”, didn’t found anything.
As far as I understand, an item’s “type”, “semantic class” and “semantic property” are what is important for the semantic model.
They were from the beginning and the item in question is not editable, nonetheless.
I’ve inspected an item description you’ve provided and noticed that in your case an item is linked to a channel. I think that’s why an item is editable in your case.
In my case there’s no channel to link an item to because it is intended to be used in scripts as a reference value for a target illuminance.
I already have another item of a “switch” type, that is not linked to any channel. It is editable from a model and is used in scripts just fine. So I didn’t expected any troubles in that front.
Do you have any suggestion how to use an item without connecting it to any channel?
An item it’s an item doesn’t matter if it’s linked or not.
Your are trying to use this in a listWidget=“oh-stepper-item” not an standalone widget.
Again I never did UI stuff configuration but I think you have to select metadata with list widget