Description
Current state
In OH3 we have two concepts for "Location".
- Semantic Model (MainUI: “Model”):
- Location
- Point
- Property
- Equipment
The Location from the Semantic Model is a new concept in OH3 and is used for various things.
- Things (MainUI: “Things”):
- Location
The Location parameter of a Thing has been used for the Control area of PaperUI but is not used for anything in OH3.
The problem
The current state with two "Location" concepts is confusing (see e.g. https://community.openhab.org/t/is-location-in-a-thing-still-used-for-anything-in-oh3/116691 for some misconceptions that come up easily).
One goal of openHAB 3 is to be more attractive to novice users and those can be confused most easily.
So I think we should do something about it.
Possible ways forward
I see quite some options here:
- Add the text “(deprecated)” next to it in the UI
- Add a description stating that this is not to be confused with the semantic model and should represent the physical location where the thing is installed
- Only show it for old things in the UI where the field has a non-empty value
- Hide it behind some “show advanced” button like it is done for the less used channels or metadata entries
- Completely remove it from the UI
- Keep it and use it in the thing overview as another thing the list can be filtered by (like @curlyel suggested in the above mentioned thread)
- Completely remove it from OH Core
I'm starting the discussion here because personally I would vote for a complete removal from OH or at least from the UI. That way the least confusion is caused and since it’s not used for anything, backwards compatibility shouldn’t be a major problem here. Though maybe it’s exposed through the API and some 3rd party app or addon uses it for… something? Then I’d probably go with the “show advanced” button in combination with a rename to “Physical Location” and a description that it has nothing to do with the semantic model.
But of cause that’s not my decision to make so I'd like to get the maintainers take on this.