How to Change a String Item from the Model

  • Platform information:
    • Hardware: RPi
    • openHAB version: 3.1.0

I have a String Item that has 3 possible values: “Day”, Twilight", "Night which is usually set by a rule triggered by a light sensor changing. Sometimes I would like to override the value. If it were a Switch Item then it could be changed easily from the model. Is it possible to do something similar for a String Item either in the model or the Overview page? A click to make it cycle the values would be ideal rather than having to type in a string. I have searched the community but not found anything similar though I thought it would probably be a common requirement.

I think you’ll be looking for making a selection widget the UI default for your Item, and adding selection metadata.

Thank you for your suggestion. I will try that.